# Iris Pseudácorus Mallard
A Discord robot for the Angels Discord written in Python.

## Requirements
* Python3
* PostgreSQL (libpq-dev) 
* Web server gateway interface like uWSGI or Gunicorn
* A discord token

## Installation
1. Clone the git repository: `git clone ` ...
1. Change into the repo directory: `cd ` ...
1. Create virtual environment: `python3 -m venv .`
1. Activate virtual environment: `source bin/activate`
1. 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`
1. Edit the new local settings file: `nano webgui/webgui/local_settings.py`
1. Test: `python webgui/manage.py runserver`
Expose django to the web. (TODO: more details)

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

## Edeting the look of the webgui
### Build Fomatic-ui
* https://fomantic-ui.com/introduction/getting-started.html

### Theming
* https://fomantic-ui.com/usage/theming.html