first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:22:29 +03:00
commit ec28a2024d
208 changed files with 23836 additions and 0 deletions

23
start_dev.sh Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# Hata durumunda durdurma, çünkü ctrl+c ile kapatmak isteyebiliriz
# set -e
echo "Starting Django Development Server and Celery Worker..."
# Trap SIGINT (Ctrl+C) to kill all background processes
trap 'kill $(jobs -p)' SIGINT
# Start Celery Worker in background
echo "Starting Celery Worker..."
celery -A core worker -l info &
# Wait a bit for Celery to initialize (optional)
sleep 2
# Start Django Development Server
echo "Starting Django Server..."
python manage.py runserver 0.0.0.0:8000
# Wait for all background processes to finish
wait