first commit

This commit is contained in:
Beyhan Oğur
2026-04-26 22:26:46 +03:00
commit 2be3a313ad
55 changed files with 3609 additions and 0 deletions

15
clery.txt Normal file
View File

@@ -0,0 +1,15 @@
# bir kere
python manage.py migrate
# worker
celery -A core worker -l info
# beat (schedule çalıştırıcı)
celery -A core beat -l info
# 1. Request gönder ve task başlat
curl -X POST http://localhost:8000/api/v1/ml/train-model/
# Dönen task_id'i kopyala, sonra status sorgula:
curl "http://localhost:8000/api/v1/ml/training-status/?task_id=<task_id>"