Solution produced during "Oleg Hackathon" as part of the "Hack Lab" course in Skotech in collaboration with Tinkoff, September 11-13, 2020
Team PEPEtoners: Ilya Borovik, Vladislav Kniazev, Vanessa Skliarova, Bulat Khabibullin, and Zakhar Pichugin
- At first, you need to create new bot in Telegram.
- Install python and venv
You're ready to run bot locally.
- Set up environment variables:
TELEGRAM_BOT_KEY
,VOICEKIT_API_KEY
,VOICEKIT_SECRET_KEY
. For example,export TELEGRAM_BOT_KEY=<TOKEN>
- Activate virtual environment using
source venv/bin/activate
- Run bot
python hackabot/bot.py
- If you have not access to some server, you may sign up to some one (for instance, Heroku).
- Connect to the server. You may use ssh to connect.
- Install Tmux
sudo apt install tmux
- Attach to Tmux
tmux attach || tmux new
- Clone your repository.
- Repeat local run steps.
Original codebase: https://github.com/idenra-google/chackabot