7 lines
181 B
Bash
7 lines
181 B
Bash
#!/bin/bash
|
|
|
|
echo "Collecting static files..."
|
|
python manage.py collectstatic --noinput --clear
|
|
|
|
echo "Starting server..."
|
|
exec gunicorn backend.wsgi:application --bind 0.0.0.0:8000 |