Add gunicorn dep, deploy with supervisor
This commit is contained in:
1 parent
2a2baef6d2
commit
ad025f17d8
2 files changed
+6
-6
No files matched your search
Vendored
+2
-3
@@ -21,6 +21,5 @@ def deploy():
|
||||
run('umask 022; python manage.py collectstatic --noinput') # Collect static
|
||||
run('python manage.py migrate') # Run DB migrations
|
||||
|
||||
# TODO: Supervisor
|
||||
# Reload gunicorn
|
||||
sudo('/etc/init.d/gunicorn reload', shell=False)
|
||||
# Reload mxapi.neuf.no
|
||||
sudo('/usr/bin/supervisorctl pid mxapi.neuf.no | xargs kill -HUP', shell=False)
|
||||
+4
-3
@@ -1,7 +1,8 @@
|
||||
Django>=1.9,<1.10
|
||||
djangorestframework>=3.3,<3.4
|
||||
django-extensions==1.6.1
|
||||
django-filter==0.12.0
|
||||
passlib==1.6.5
|
||||
mysqlclient==1.3.7
|
||||
djangorestframework>=3.3,<3.4
|
||||
Fabric==1.10.2
|
||||
gunicorn==19.4.5
|
||||
mysqlclient==1.3.7
|
||||
passlib==1.6.5
|
||||
Reference in new issue
Block a user