Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/dhiraj240/gitbot-v1
- Owner: Dhiraj240
- Created: 2018-08-19T04:27:41.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:46:49.000Z (almost 2 years ago)
- Last Synced: 2023-03-08T03:25:10.485Z (over 1 year ago)
- Topics: api, coala, python3, travis-ci
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
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.