- Python (>= 3.6.5)
- Pip (>= 18.0)
- MariaDB (>= 10.3.9)
- virtualenv (== 16.0.0) (if setting up project in virtual environment)
-
Install Python Dependencies
$ pip install -r requirements.txt -
Initialize environment variable (create a
.envfile based onexample.env) -
Setup database
$ python setup.py -
Run the bot
$ python main.py
-
Setup Virtual Environment
$ python -m venv virtualenv -
Activate Virtual Environment
$ source virtualenv/bin/activate -
Update pip to latest version
$ python -m pip install --upgrade pip -
Repeat the above steps to set up the project in the virtual environment Run the following code to deactivate the virtual environment
$ deactivate