Recomment the --clear and --noinput options for collectstatic
This commit is contained in:
parent
2f243139bf
commit
f249af08b7
1 changed files with 3 additions and 3 deletions
|
@ -16,7 +16,7 @@ cd khaganat-web
|
|||
vim .env
|
||||
PIPENV_VENV_IN_PROJECT=1 pipenv --three update
|
||||
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 createsuperuser
|
||||
```
|
||||
|
@ -68,7 +68,7 @@ cd khaganat-web
|
|||
git pull
|
||||
pipenv --three update
|
||||
pipenv run ./manage.py migrate
|
||||
pipenv run ./manage.py collectstatic
|
||||
pipenv run ./manage.py collectstatic --clear --noinput
|
||||
pipenv run ./manage.py compilemessages
|
||||
```
|
||||
|
||||
|
@ -153,7 +153,7 @@ Finish the installation:
|
|||
```
|
||||
# cd /srv/http/khaganat/app
|
||||
# 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 createsuperuser
|
||||
# chown -R http:http /srv/http/khaganat/
|
||||
|
|
Loading…
Reference in a new issue