No description
migrations | ||
tmp | ||
wotstats | ||
.gitignore | ||
alembic.ini | ||
config_file.ini | ||
manage.py | ||
README.md | ||
requirements.txt | ||
run_app.py | ||
run_celery.py | ||
run_celery_beat.sh | ||
run_celery_worker.sh | ||
test_auth.py | ||
test_tasks.py | ||
wots.py |
World of Tanks Statistics Server
Requirements
- Ubuntu/Debian Linux
- PostgreSQL
- Python 2.7
- Wargaming Developers Account
Install
For Postgres installation
https://developer.fedoraproject.org/tech/database/postgresql/about.html
pip install -r requirements.txt
Upgrade
Upgrade database
python manage.py db upgrade head
Run
Application
python run_app.py
Celery Worker
celery worker -A run_celery.celery -l info
Celery Beat
celery beat -A run_celery.celery -l debug