Browse Source

fix: collecstatic

main
Lucas 2 years ago
parent
commit
4baca11562
  1. 4
      run.sh

4
run.sh

@ -323,8 +323,8 @@ install_dependencies() {
# Perform collectstatic, migrate and createsuperuser # Perform collectstatic, migrate and createsuperuser
execute_collec_mig_createsup() { execute_collec_mig_createsup() {
mkdir -p /home/$USERNAME/$APP/staticfiles && mkdir -p /home/$USERNAME/$APP/staticfiles &&
/home/$USERNAME/$APP/$VENV/bin/python3 /manage.py collectstatic --noinput && /home/$USERNAME/$APP/$VENV/bin/python3 /home/$USERNAME/$APP/manage.py collectstatic --noinput &&
/home/$USERNAME/$APP/$VENV/bin/python3 /manage.py migrate /home/$USERNAME/$APP/$VENV/bin/python3 /home/$USERNAME/$APP/manage.py migrate
} }
# Instala o firewall # Instala o firewall

Loading…
Cancel
Save