Skip to content

Latest commit

 

History

History
67 lines (45 loc) · 1.55 KB

Readme.md

File metadata and controls

67 lines (45 loc) · 1.55 KB

Slack Bot For Github Configuration Guide And Ran coala Code Analysis over it.

Checkout .coafile

Integrated Travis CI

Build Status

It is highly recommended to setup a virtual environment. You can follow This link to install virtualenv! After that typein :

virtualenv <-any environment-name-you-want>

For me i wrote :
virtualenv env

Activate your environment

env\scripts\activate

As my environment name was env so i used this prefix with above command. For you it can be anything 👍

Install requirements

pip install -r requirements.txt

Set Slack Bot Token

set SLACK_BOT_TOKEN=xxxxxxxxx

Here xxxxxxxxxx is your slack bot token

Run Below Script

python bot_id.py

You will get a BOT_ID which will be generated automatically by the above script.

Set BOT ID

set BOT_ID=xxxxx

Here xxxxx is your generated BOT_ID from the above script

Run Below Script

python army_brat.py

Join Slack And Play with @army_brat

Add this bot to your channel and replace the code accordingly.Then head on to the link BOT_COMMANDS_TO_BE_EXECUTED_ON_SLACK

Note

The commands you are executing must be done in a virtual environment because this project has different dependencies and if you do not follow it, then there may be the case that it can hamper your someother project.