- make sure you have python 3.x installed by running
python --version
orpython3 --version
. - run
pip install -r requirements.txt
orpip3 install -r requirements.txt
. - run
git clone
on this repo. - for bot: create a file in the root dir called
.env
with the folllowing line:export SLACK_API_TOKEN='<your-token>'
.
cd
into the project directory.- run
python run.py
orpython3 run.py
. - see your generated file -
avatar.png
- in the project dir.
cd
into the project directory.- run
python bot.py
orpython3 bot.py
. - you can now iteract with it from slack.
cd
into the project directory.- run
python app.py
orpython3 app.py
. - your server should be running on
http://127.0.0.1:5000/
.