Mercurial > sat_legacy_website
annotate deploy.sh @ 155:58c032157bed
turn autoescape off to display news feed
author | souliane <souliane@mailoo.org> |
---|---|
date | Fri, 03 Nov 2017 00:21:49 +0100 |
parents | 87382593e514 |
children |
rev | line source |
---|---|
149
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
1 #!/bin/bash |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
2 |
151 | 3 hg pull -u |
154 | 4 #chown -R www-data:www-data . |
149
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
5 mkdir -p static |
b1c16cd53b62
update django to version 1.11, refactor project structure, better PEP-8 compliance
souliane <souliane@mailoo.org>
parents:
diff
changeset
|
6 ./manage.py collectstatic |
151 | 7 ./manage.py compilemessages |
152 | 8 ./manage.py migrate |
154 | 9 /etc/init.d/apache2 reload |