Skip to content

Setup for Development

Aditya Rajput edited this page Oct 3, 2022 · 6 revisions

Requirements

Clone this repository

$ git clone https://github.com/BURG3R5/github-slack-bot.git
$ cd github-slack-bot

Create a virtual environment

$ python -m venv venv  # Or, if your system contains both Python 2 and 3, use `python3`.

Activate your virtual environment

MacOS and Linux:

$ source venv/bin/activate

Windows:

> venv\Scripts\activate

Install dependencies

$ pip install -r requirements.txt  # Or, if your system contains both Python 2 and 3, use `pip3`.

Enable git hooks

$ pip install pre-commit  # Or, if your system contains both Python 2 and 3, use `pip3`.
$ pre-commit install

Expose your machine's port to the internet

Download and configure ngrok

Run the bot

$ python main.py
Clone this wiki locally