Files
insta/clery.txt
Beyhan Oğur 2be3a313ad first commit
2026-04-26 22:26:46 +03:00

15 lines
362 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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>"