fix: static folder name
This commit is contained in:
parent
ad4f8b51b2
commit
a43b330a5c
1 changed files with 1 additions and 1 deletions
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…
Add table
Add a link
Reference in a new issue