virtualenv venv
source venv/bin/activate
pip install -r requirements.txt
docker-compose up -d
Run install.sh
and input variables (details below):
VARIABLES | DESCRIPTION |
---|---|
your_env |
Project environment. Change in app/config.py . Development by default. |
TOKEN |
Telegram bot token from t.me/BotFather. |
python3 -m app
# init alembic
alembic init alembic
# create migration
alembic revision --autogenerate -m "message"
# apply migration
alembic upgrade head
# downgrade migration
alembic downgrade base