Browse Source

fix: static folder name

main
Lucas 12 months ago
parent
commit
a43b330a5c
  1. 2
      run.sh

2
run.sh

@ -329,7 +329,7 @@ install_dependencies() {
# Coletar arquivos estáticos, criar tabelas e criar super usuário
# Perform collectstatic, migrate and createsuperuser
execute_collec_mig_createsup() {
mkdir -p /home/$USERNAME/$APP/staticfiles &&
mkdir -p /home/$USERNAME/$APP/static &&
/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
if [[ $? -ge 1 ]]; then

Loading…
Cancel
Save