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