complete the makefile with needed management commandś when updateing

This commit is contained in:
Benjamin Dauvergne 2011-10-10 14:59:56 +02:00
parent 764b894f8a
commit 5523d772c2
1 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,9 @@ HOST=$(shell uname -n)
update:
cd source/ && git pull
cd source/docbow_project && python manage.py collectstatic
cd source/docbow_project && python manage.py compilemessages
cd source/docbow_project && python manage.py syncdb --migrate
pip install -r source/dev-req.txt
/etc/init.d/courrier.parlement-wallon.be reload
ifeq ($(HOST),docbow1.entrouvert.com)