Setup

Before we get to setting up our database and configuring the bot we must first install the system. To do this we will use git to clone the repository. If you do not have git installed you can download it here.

  1. Open a terminal and navigate to the directory you want to install the system in.
  2. Download the repository

    • Via Git:
      git clone https://github.com/Redon-Tech/Redon-Hub.git
      
      # Get the latest release version
      # if you want the latest development version do not run this.
      git checkout $(git describe --tags $(git rev-list --tags --max-count=1))
      
    • Via Zipfile:
      1. Download the source code from GitHub.
      2. Extract contents into your install directory.
  3. Enter a pipenv

cd Redon-Hub

python -m pip install pipenv

python -m pipenv install

python -m pipenv shell
cd Redon-Hub

pip install pipenv

pipenv install

pipenv shell
  1. Install the requirements (only if the pipenv does not automatically install them)
python -m pip install -U -r requirements.txt
pip install -U -r requirements.txt

Next: Database Setup