We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb210c commit f1c4889Copy full SHA for f1c4889
DigitalOcean/root/deploy.sh
@@ -4,7 +4,7 @@
4
cd /home
5
6
# Clean up cached static files
7
-rm -r static Website/static/min
+rm -r static Website/static/min Website/static/fonts
8
9
# Backup database file
10
mv db.sqlite3 db.save
@@ -22,8 +22,16 @@ cd ../..
22
# Restore database file
23
mv db.save db.sqlite3
24
25
+# Install python packages updates if any
26
+pip3 install -r requirements.txt
27
+
28
+# Download & combine static requirements
29
+cd Website
30
+python3 download.py
31
+cd ..
32
33
# Compress and collect static files
-python3 manage.py compress
34
+python3 manage.py compress --force
35
python3 manage.py collectstatic
36
37
# Clean up uncompressed static files
0 commit comments