From 3de6f6faf8c690cc434e3e34346159304dbac5cf Mon Sep 17 00:00:00 2001 From: nicedevil007 <17103076+nicedevil007@users.noreply.github.com> Date: Sat, 18 Jun 2022 22:32:09 +0200 Subject: [PATCH] Added the "--no-input" to the collectstatic lines --- docs/install/manual.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/install/manual.md b/docs/install/manual.md index ce88abf29..fa572a958 100644 --- a/docs/install/manual.md +++ b/docs/install/manual.md @@ -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