Clear old staticfiles when deploying
This commit is contained in:
parent
74cd886080
commit
d2a42b6b3a
1 changed files with 3 additions and 4 deletions
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
yes yes | python manage.py migrate && \
|
||||
#yes yes | pipenv run python manage.py createcachetable && \
|
||||
python manage.py collectstatic --noinput && \
|
||||
gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -
|
||||
yes yes | python manage.py migrate \
|
||||
&& python manage.py collectstatic --noinput --clear \
|
||||
&& gunicorn blog.wsgi -b 0.0.0.0:8000 --log-file -
|
||||
|
|
Reference in a new issue