sudo apt install python3 python3-pip libpq-dev python3-dev
pip3 install -r requirements.txt
- Create/get api keys from https://my.telegram.org/apps
python manage.py makemigrations
python manage.py migrate
- If you running in vpn/localhost - add
ALLOWED_HOSTS
IPS toChatWarsWebFarm/settings.py
python manage.py runserver 0.0.0.0:8080
celery -A ChatWarsWebFarm worker --loglevel=info
in dir with manage.py
python3 manage.py runapscheduler