fix: collecstatic
This commit is contained in:
parent
c26dbb168d
commit
4baca11562
1 changed files with 2 additions and 2 deletions
4
run.sh
4
run.sh
|
|
@ -323,8 +323,8 @@ install_dependencies() {
|
|||
# Perform collectstatic, migrate and createsuperuser
|
||||
execute_collec_mig_createsup() {
|
||||
mkdir -p /home/$USERNAME/$APP/staticfiles &&
|
||||
/home/$USERNAME/$APP/$VENV/bin/python3 /manage.py collectstatic --noinput &&
|
||||
/home/$USERNAME/$APP/$VENV/bin/python3 /manage.py migrate
|
||||
/home/$USERNAME/$APP/$VENV/bin/python3 /home/$USERNAME/$APP/manage.py collectstatic --noinput &&
|
||||
/home/$USERNAME/$APP/$VENV/bin/python3 /home/$USERNAME/$APP/manage.py migrate
|
||||
}
|
||||
|
||||
# Instala o firewall
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue