mirror of
https://github.com/viq/NewsBlur.git
synced 2025-08-31 22:20:12 +00:00
Fixing flask
This commit is contained in:
parent
feef90b5c2
commit
8299f70c87
2 changed files with 3 additions and 3 deletions
4
fabfile.py
vendored
4
fabfile.py
vendored
|
@ -963,6 +963,8 @@ def upgrade_django(role):
|
||||||
with virtualenv(), settings(warn_only=True):
|
with virtualenv(), settings(warn_only=True):
|
||||||
sudo('sudo dpkg --configure -a')
|
sudo('sudo dpkg --configure -a')
|
||||||
setup_supervisor()
|
setup_supervisor()
|
||||||
|
pull()
|
||||||
|
run('git co django1.11')
|
||||||
if role == "task":
|
if role == "task":
|
||||||
sudo('supervisorctl stop celery')
|
sudo('supervisorctl stop celery')
|
||||||
run('./utils/kill_celery.sh')
|
run('./utils/kill_celery.sh')
|
||||||
|
@ -973,8 +975,6 @@ def upgrade_django(role):
|
||||||
run('./utils/kill_gunicorn.sh')
|
run('./utils/kill_gunicorn.sh')
|
||||||
copy_app_settings()
|
copy_app_settings()
|
||||||
setup_gunicorn(restart=False)
|
setup_gunicorn(restart=False)
|
||||||
pull()
|
|
||||||
run('git co django1.11')
|
|
||||||
pip()
|
pip()
|
||||||
clean()
|
clean()
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
../local_settings.py
|
../newsblur/local_settings.py
|
Loading…
Add table
Reference in a new issue