Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dhiraj240/gitbot-v1

Slack bot for github needs more feature , originally developed during opensource contribution.People looking to contribute(or need help) directly comment on issue.
https://github.com/dhiraj240/gitbot-v1

api coala python3 travis-ci

Last synced: 1 day ago
JSON representation

Slack bot for github needs more feature , originally developed during opensource contribution.People looking to contribute(or need help) directly comment on issue.

Awesome Lists containing this project

README

        

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

Checkout [.coafile](/.coafile)

Integrated [Travis CI](/.travis.yml)

[Build Status](https://travis-ci.org/Dhiraj240/Slack-Test)

It is highly recommended to setup a virtual environment.
You can follow [This link to install virtualenv!](https://virtualenv.pypa.io/en/latest/installation/)
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 :+1:

## 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](https://github.com/Dhiraj240/Slack-Test/blob/master/Guidelines.md)

## 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.