Custom discord robot for the Charlie's Angels guild https://angels.gtarp.nl

root c0a7c4d85b New version of init_db.py added 1 年之前
bot c0a7c4d85b New version of init_db.py added 1 年之前
.gitignore 98ade06aa3 libpq-dev hint @ README, .gitinore PyCharm, copy instead of move example file with missing settings, bugfixes for \!8ball & \!dice 3 年之前
README.md 465e0e6b8e Server fixes 2 年之前
requirements.txt 356bc3d662 removed webgui 1 年之前

README.md

Iris Pseudácorus Mallard

A Discord robot for the Angels Discord written in Python.

Requirements

  • Python3 & the python3-dev pacakge
  • PostgreSQL
  • Web server gateway interface like uWSGI or Gunicorn
  • A discord token

Installation

  1. Clone the git repository: git clone ...
  2. Change into the repo directory: cd ...
  3. Create virtual environment: python3 -m venv .
  4. Activate virtual environment: source bin/activate
  5. Install required packages: pip3 install -r requirements.txt

Web interface

  1. Copy the local settings example file: cp webgui/webgui/local_settings_example.py webgui/webgui/local_settings.py
  2. Edit the new local settings file: nano webgui/webgui/local_settings.py
  3. Test: python webgui/manage.py runserver Expose django to the web. (TODO: more details)

Run bot

  1. Activate virutal environment: source bin/activate
  2. Run python bot/main.py

Edeting the look of the webgui

Build Fomatic-ui

Theming