seller_central_backend/start.sh
2026-08-27 22:10:10 +05:30

11 lines
236 B
Bash
Executable file

#!/bin/bash
# Activate virtual environment if it exists
if [ -d "venv" ]; then
source venv/bin/activate
fi
# Apply migrations just in case
python manage.py migrate
# Start the Django server
python manage.py runserver 0.0.0.0:8000