All checks were successful
Deploy Beta (NATIVE) / deploy (push) Successful in 45s
12 lines
297 B
Bash
Executable file
12 lines
297 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# Activate the virtual environment
|
|
source venv/bin/activate
|
|
|
|
# Apply any pending migrations
|
|
echo "Applying database migrations..."
|
|
python manage.py migrate
|
|
|
|
# Start the Django development server
|
|
echo "Starting the Django server on http://127.0.0.1:8000..."
|
|
python manage.py runserver
|