add two infos

This commit is contained in:
Arne Hüffmeier 2022-09-01 13:38:47 +02:00
parent e6f79a6fa3
commit cf24e1014a

View File

@ -210,9 +210,12 @@ cd /var/www/recipes
git pull git pull
# load envirtonment variables # load envirtonment variables
export $(cat /var/www/recipes/.env |grep "^[^#]" | xargs) export $(cat /var/www/recipes/.env |grep "^[^#]" | xargs)
#install project requirements
/var/www/recipes/bin/pip3 install -r requirements.txt
# migrate database # migrate database
bin/python3 manage.py migrate bin/python3 manage.py migrate
# collect static files # collect static files
# To prevent later errors, it is advisable to perform these steps more frequently until the output "0 static files copied" appears.
bin/python3 manage.py collectstatic --no-input bin/python3 manage.py collectstatic --no-input
bin/python3 manage.py collectstatic_js_reverse bin/python3 manage.py collectstatic_js_reverse
# change to frontend directory # change to frontend directory