This commit is contained in:
Lucas F 2023-07-22 10:37:11 -03:00
parent 2ca3e8c7a1
commit 3d295831d8

4
run.sh
View file

@ -323,7 +323,7 @@ install_dependencies() {
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 /manage.py migrate
}
# Instala o firewall
@ -540,7 +540,7 @@ declare -a commands=(
"install_packages"
"create_venv"
"install_dependencies"
"execute_collec_mig_createsup",
"execute_collec_mig_createsup"
"install_firewall"
"enable_ports"
"manage_default_nginx_file"