Recomment the --clear and --noinput options for collectstatic

This commit is contained in:
Rodolphe Breard 2018-06-11 12:32:59 +02:00
parent 2f243139bf
commit f249af08b7

View file

@ -16,7 +16,7 @@ cd khaganat-web
vim .env vim .env
PIPENV_VENV_IN_PROJECT=1 pipenv --three update PIPENV_VENV_IN_PROJECT=1 pipenv --three update
pipenv run ./manage.py migrate pipenv run ./manage.py migrate
pipenv run ./manage.py collectstatic pipenv run ./manage.py collectstatic --clear --noinput
pipenv run ./manage.py compilemessages pipenv run ./manage.py compilemessages
pipenv run ./manage.py createsuperuser pipenv run ./manage.py createsuperuser
``` ```
@ -68,7 +68,7 @@ cd khaganat-web
git pull git pull
pipenv --three update pipenv --three update
pipenv run ./manage.py migrate pipenv run ./manage.py migrate
pipenv run ./manage.py collectstatic pipenv run ./manage.py collectstatic --clear --noinput
pipenv run ./manage.py compilemessages pipenv run ./manage.py compilemessages
``` ```
@ -153,7 +153,7 @@ Finish the installation:
``` ```
# cd /srv/http/khaganat/app # cd /srv/http/khaganat/app
# pipenv run ./manage.py migrate # pipenv run ./manage.py migrate
# pipenv run ./manage.py collectstatic # pipenv run ./manage.py collectstatic --clear --noinput
# pipenv run ./manage.py compilemessages # pipenv run ./manage.py compilemessages
# pipenv run ./manage.py createsuperuser # pipenv run ./manage.py createsuperuser
# chown -R http:http /srv/http/khaganat/ # chown -R http:http /srv/http/khaganat/