Added the "--no-input" to the collectstatic lines
This commit is contained in:
parent
e6f80497a9
commit
3de6f6faf8
@ -123,7 +123,7 @@ Things to edit:
|
||||
|
||||
Execute `export $(cat /var/www/recipes/.env |grep "^[^#]" | xargs)` to load variables from `/var/www/recipes/.env`
|
||||
|
||||
Execute `./bin/python3 manage.py migrate`
|
||||
Execute `bin/python3 manage.py migrate`
|
||||
|
||||
and revert superuser from postgres:
|
||||
|
||||
@ -132,7 +132,7 @@ sudo -u postgres psql` and `ALTER USER djangouser WITH NOSUPERUSER;
|
||||
exit
|
||||
```
|
||||
|
||||
Generate static files: `./bin/python3 manage.py collectstatic` and `./bin/python3 manage.py collectstatic_js_reverse` and remember the folder where files have been copied.
|
||||
Generate static files: `bin/python3 manage.py collectstatic --no-input` and `bin/python3 manage.py collectstatic_js_reverse` and remember the folder where files have been copied.
|
||||
|
||||
## Setup web services
|
||||
|
||||
@ -213,7 +213,7 @@ export $(cat /var/www/recipes/.env |grep "^[^#]" | xargs)
|
||||
# migrate database
|
||||
bin/python3.9 manage.py migrate
|
||||
# collect static files
|
||||
bin/python3.9 manage.py collectstatic
|
||||
bin/python3.9 manage.py collectstatic --no-input
|
||||
bin/python3.9 manage.py collectstatic_js_reverse
|
||||
# change to frontend directory
|
||||
cd vue
|
||||
|
Loading…
Reference in New Issue
Block a user