Clone repository
$ git clone https://github.com/brebiv/BotMaker
$ cd BotMakerCreate virtual environment
$ python3 -m venv venvActivate virtual environment
$ source venv/bin/activateInstall python requirements
$ pip install -r requirements.txtMigrate Django database
$ python manage.py migrateCreate Django superuser account
$ python manage.py createsuperuserRun local Django development server and run BotRunner instance.
You should use two terminal windows or run them in the background.
$ python manage.py runserver
$ python manage.py runbotrunnerGo to http://localhost:8000/admin. Login with credntials you set in createsuperuser step.
Go to bots folder and click add bot. Input bot token and choose owner.
You can register new bot and obtain token from Telegram Bot @BotFather.
Now go to http://localhost:8000/ click Dashboard button there input PIN-code which is 10891089. Done. You have installed BotRunner localy. Congrats. Now try to figure out how to use it on your own. It does not refresh commands automatically, so you have to click stop and then start button to make bot respond to commands you've made.


