Skip to content

The backend of the winning project of the AI Talent Hackathon Hackathon in the Machine Learning in Retail section

Notifications You must be signed in to change notification settings

Daniil-Solo/Rehead-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Пример .env

DB_HOST=127.0.0.1
DB_PORT=5432
DB_NAME=your_db
DB_USER=your_user
DB_PASS=your_pass
SECRET_KEY=your_secret_key
REDIS_URL=redis://127.0.0.1:6379
NLP_MODEL_PATH=/your/path
ALLOWED_HOSTS=your_host

Запуск

Миграции

alembic upgrade ec0e168fe34a

Веб-сервис

gunicorn app:app --workers 1 --worker-class uvicorn.workers.UvicornWorker --bind=0.0.0.0:5000

Celery-worker

celery -A tasks.celery_tasks worker

Celery Flower

celery -A celery_tasks.py flower --port=5555

About

The backend of the winning project of the AI Talent Hackathon Hackathon in the Machine Learning in Retail section

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages