install requirements

This commit is contained in:
Jannes Höke 2017-08-21 21:44:30 +02:00 committed by GitHub
parent 09d01d001b
commit ed9084b5c4

View file

@ -14,6 +14,7 @@ To run the bot yourself, you will need:
- Convert all language files from `.po` files to `.mo` files using `msgfmt unobot.po -o unobot.mo`. - Convert all language files from `.po` files to `.mo` files using `msgfmt unobot.po -o unobot.mo`.
Also try `find . -maxdepth 2 -type d -name 'LC_MESSAGES' -exec bash -c 'msgfmt {}/unobot.po -o {}/unobot.mo' \;`. Also try `find . -maxdepth 2 -type d -name 'LC_MESSAGES' -exec bash -c 'msgfmt {}/unobot.po -o {}/unobot.mo' \;`.
- Use `/setinline` and `/setinlinefeedback` with BotFather for your bot. - Use `/setinline` and `/setinlinefeedback` with BotFather for your bot.
- Install requirements (using a `virtualenv` is recommended): `pip install -r requirements.txt`
Then run the bot with `python3 bot.py`. Then run the bot with `python3 bot.py`.