annotate deploy.sh @ 160:ff48d544bfdd default tip

gallery: replaced <video> tag by <img> for videos thumbnails
author Goffi <goffi@goffi.org>
date Sun, 23 Sep 2018 16:41:30 +0200
parents 87382593e514
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
41aaaaf7b7fd update deploy.sh
souliane <souliane@mailoo.org>
parents: 149
diff changeset
3 hg pull -u
154
87382593e514 fix EMAIL_BACKEND setting
souliane <souliane@mailoo.org>
parents: 152
diff changeset
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
41aaaaf7b7fd update deploy.sh
souliane <souliane@mailoo.org>
parents: 149
diff changeset
7 ./manage.py compilemessages
152
1801236f27f0 update deploy.sh
souliane <souliane@mailoo.org>
parents: 151
diff changeset
8 ./manage.py migrate
154
87382593e514 fix EMAIL_BACKEND setting
souliane <souliane@mailoo.org>
parents: 152
diff changeset
9 /etc/init.d/apache2 reload