Add gunicorn dep, deploy with supervisor

This commit is contained in:
nikolark committed 2016-02-08 23:33:53 +01:00
1 parent 2a2baef6d2
commit ad025f17d8
2 files changed
+6 -6

No files matched your search

Vendored
+2 -3
View File
@@ -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
View File
@@ -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