Makefile: ajoute une cible pour déployer en dév

This commit is contained in:
Benjamin Dauvergne 2017-03-29 19:37:38 +02:00
parent 237e44f5a2
commit 134749daaa
1 changed files with 3 additions and 0 deletions

View File

@ -4,3 +4,6 @@ init:
dropdb zoo || true
createdb zoo
. ~/.virtualenvs/zoo/bin/activate; ./manage.py migrate && ./manage.py loaddata fixtures/admin.json rsu && ./manage.py runserver
publish:
rsync --delete -avz ./* bdauvergne@nanterre.dev:zoo/