Telegram bot for DCV Master program FAQ.
If you copy the project and running on your local machine for development and testing purposes you should:
- Install requirements
- Set environment variables:
MODE
,TOKEN
in .env file (use.env.sample
as an example) - Start
bot.py
script
See deployment for notes on how to deploy the project on a live system.
Clone this repo:
git clone https://github.com/dh-center/dcv-faq-bot.git
Change working directory to repo folder. Inside your environment:
pip install requirements.txt
cp .env.sample .env
Note, permissible values for MODE
are [dev
, prod
, prod_heroku
].
For prod_heroku
set env variable HEROKU_APP_NAME
.
- Copy
docker-compose.prod.yml
- Create
.env
file and fill necessary variables (see.env.sample
) - Run
docker-compose -f docker-compose.prod.yml up