11 lines
241 B
Bash
Executable File
11 lines
241 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
echo "==> Aplicando migraciones de base de datos..."
|
|
python manage.py migrate --noinput
|
|
|
|
echo "==> Iniciando Gunicorn..."
|
|
exec gunicorn config.wsgi:application \
|
|
--bind 0.0.0.0:8000 \
|
|
--workers 3 \
|
|
--timeout 120 |