How to setup environment - Voland-I/ss-booking-bot GitHub Wiki
Make sure that you use python version 3.7.
Clone project repository:
$ git clone https://github.com/Voland-I/ss-booking-bot.git
To create virtual environment for the project you can use virtualenv tool:
<some/working/dir>$ virtualenv <env_name>
This command will creates directory <env_name> in <some/working/dir>. Next you need to activate environment:
<some/working/dir>$ source <env_name/bin/activate
When environment activated you need to install all requirenments:
$ pip3 install -U pip
$ pip3 install -r requirements.txt
Then you have to install Microsoft Bot Framework Emulator
To run bot locally open terminal and enter next commands:
<project/root/dir>$ export FLASK_APP=application.py
<project/root/dir>$ export FLASK_ENV="development" - optionally (it's command set development mode)
<project/root/dir>$ flask run
Open bot in emulator.