alterações gerais

This commit is contained in:
2025-06-16 13:11:57 -04:00
parent 9dca0d6022
commit f196773705
45 changed files with 6774 additions and 222 deletions

View File

@ -4,7 +4,17 @@ set -o errexit
set -o pipefail
set -o nounset
# Aplica migrações antes de iniciar o servidor
python manage.py migrate
exec python manage.py runserver_plus 0.0.0.0:8005
# Coleta arquivos estáticos
python manage.py collectstatic --noinput
python manage.py compress --force
# Inicia o servidor com Gunicorn
exec gunicorn config.wsgi:application \
--bind 0.0.0.0:8005 \
--workers 4 \
--timeout 120
# python manage.py runserver_plus 0.0.0.0:8005