A corporation manager and dashboard for EVE Online
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Ben Kurtovic a43bb9b13c Add template module cache dir. 10 vuotta sitten
calefaction Add template module cache dir. 10 vuotta sitten
config Add zKillboard API support; implement most of campaign updating. 10 vuotta sitten
data Add zKillboard API support; implement most of campaign updating. 10 vuotta sitten
scripts Rename uwsgi config file; add top script. 10 vuotta sitten
static Campaign module style tweaks. 10 vuotta sitten
templates Add zKillboard API support; implement most of campaign updating. 10 vuotta sitten
.gitignore Add template module cache dir. 10 vuotta sitten
LICENSE Flask basics, style. 10 vuotta sitten
README.md Use 'flask run' instead of './app'. 10 vuotta sitten
app.py Use 'flask run' instead of './app'. 10 vuotta sitten
requirements.txt Rename uwsgi config file; add top script. 10 vuotta sitten

README.md

calefaction

calefaction is a corporation manager and dashboard for the video game EVE Online.

Guide

Install

git clone git@github.com:earwig/calefaction.git
cd calefaction
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt

Setup

cp config/config.yml.sample config/config.yml
vim config/config.yml  # follow instructions
cat data/schema.sql | sqlite3 data/db.sqlite3
mkdir logs
sudo chmod 0600 config/config.yml data/db.sqlite3
sudo chown www-data:www-data config/config.yml data data/db.sqlite3 logs
...  # TODO: convert these into scripts, add module instructions

Test

export FLASK_APP=`pwd`/app.py
export FLASK_DEBUG=1
flask run
# go to http://localhost:5000

Deploy

uwsgi --ini config/uwsgi.ini
# proxy to http://127.0.0.1:9001