diff options
author | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2022-01-06 18:02:00 +0100 |
---|---|---|
committer | Alexander Sulfrian <asulfrian@zedat.fu-berlin.de> | 2022-01-06 18:10:31 +0100 |
commit | 21f1860d598a2df4a5b97c624a18abc4ed9e1675 (patch) | |
tree | 52c6604ec41167f10f368abafe8f8c3d32b00b41 /README | |
parent | e6c88107426c589157f61292d67bacc76320fb7b (diff) | |
download | klausuren-21f1860d598a2df4a5b97c624a18abc4ed9e1675.tar.gz klausuren-21f1860d598a2df4a5b97c624a18abc4ed9e1675.tar.bz2 klausuren-21f1860d598a2df4a5b97c624a18abc4ed9e1675.zip |
Update to Python3
Diffstat (limited to 'README')
-rw-r--r-- | README | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -12,7 +12,7 @@ Setup (dev) $ cd klausurenarchiv $ cp config.cfg.dist config.cfg # Konfigurationsdatei erstellen $ vim/emacs/nano config.cfg - $ virtualenv2 env + $ python3 -m venv env $ . env/bin/activate $ pip install -r requirements.txt # Abhängikeiten installieren $ python manage.py runserver # Test-Server starten @@ -26,8 +26,7 @@ Deployment Debian Wheezy $ cd klausurenarchiv $ cp config.cfg.dist config.cfg # Konfigurationsdatei erstellen $ vim/emacs/nano config.cfg - $ apt-get install python-flask python-flaskext.wtf python-virtualenv uwsgi uwsgi-plugin-python - $ pip install flask-script + $ apt-get install python3-flask python3-flaskext.wtf python3-flask-script python3-magic python3-werkzeug python3-wtfforms $ cp nginx.cfg ... $ cp uwsgi.ini ... |