14 lines
311 B
Bash
Executable File
14 lines
311 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Applying database migrations..."
|
|
python manage.py migrate
|
|
|
|
echo "Collecting static files..."
|
|
python manage.py collectstatic --noinput
|
|
|
|
echo "Seeding default categories..."
|
|
python manage.py seed_categories
|
|
|
|
echo "Starting Daphne ASGI server..."
|
|
daphne -b 0.0.0.0 -p 8000 core.asgi:application
|