Issue-Label-Bot

(โ˜… 333)

Code For The Issue Label Bot, an App that automatically labels issues using machine learning, available on the GitHub Marketplace. This is also code for the blog article: "How to automate tasks on GitHub with machine learning for fun and profit"

Showing a partial file list โ€” download the zip above to see everything.

  • .dockerignore
  • .gitignore
  • developer_guide.md
  • LICENSE
  • Makefile
  • Pipfile
  • Pipfile.lock
  • README.md

# Installation Guide

1. Get the code
git clone https://github.com/machine-learning-apps/Issue-Label-Bot

Downloads the entire project code from GitHub to your computer.

cd Issue-Label-Bot

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
- [Dockerfile](/deployment/Dockerfile) this is the definition of the container that is used to run the flask app. The build for this container is hosted on DockerHub at [hamelsmu/mlapp](https://hub.docker.com/r/hamelsmu/mlapp).

Type this command into your terminal and run it.

โœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
pipenv install

Type this command into your terminal and run it.

jupyter notebook

Launches Jupyter in your browser so you can open and run the notebook (.ipynb) files.

โœ… If it runs without errors and prints output in the terminal, it worked.

4. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
make

Compiles the code based on the generated build configuration to produce an executable.

โœ… If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation