add two infos
This commit is contained in:
parent
e6f79a6fa3
commit
cf24e1014a
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user