-
Notifications
You must be signed in to change notification settings - Fork 6
Installation
Aditya Rajput edited this page Oct 3, 2022
·
1 revision
$ git clone https://github.com/BURG3R5/github-slack-bot.git
$ cd github-slack-bot
- Add
<your-url>/github/events
to your organization or repository's webhooks. - Set "Content type" to
application/json
- Check the "Send me everything" radio button
- Find and replace every instance of
<your-url>
in the provided manifest with whatever your server's URL is. - Go to link and create a new app using the edited manifest.
- Install the app to your Slack workspace.
- Copy
.env.sample
to.env
. - Set
DEBUG
to 0 and the other variables to appropriate values.
$ python -m venv venv # Or, if your system contains both Python 2 and 3, use `python3`.
MacOS and Linux:
$ source venv/bin/activate
Windows:
> venv\Scripts\activate
$ pip install -r requirements.txt # Or, if your system contains both Python 2 and 3, use `pip3`.
$ python main.py # Or, if your system contains both Python 2 and 3, use `python3`.