|
|
@ -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 |
|
|
|