Fixes notifications
This commit is contained in:
1 parent
950cc6310e
commit
f7ee851f25
7 files changed
+216
-55
No files matched your search
Vendored
+3
-2
@@ -19,8 +19,9 @@ def deploy():
|
||||
with virtualenv():
|
||||
run('git pull') # Get source
|
||||
run('pip install -r requirements.txt') # install deps in virtualenv
|
||||
run('python manage.py collectstatic --noinput') # Collect static
|
||||
run('python manage.py collectstatic --noinput -i node_modules -i bower_components') # Collect static
|
||||
run('python manage.py migrate') # Run DB migrations
|
||||
|
||||
# Reload gunicorn
|
||||
sudo('/etc/init.d/gunicorn reload', shell=False)
|
||||
sudo('/usr/bin/supervisorctl pid lister.neuf.no | xargs kill -HUP', shell=False)
|
||||
|
||||
Reference in new issue
Block a user