A corporation manager and dashboard for EVE Online
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
Ben Kurtovic 9d0eadc35f Use 'flask run' instead of './app'. il y a 7 ans
calefaction Add zKillboard API support; implement most of campaign updating. il y a 7 ans
config Add zKillboard API support; implement most of campaign updating. il y a 7 ans
data Add zKillboard API support; implement most of campaign updating. il y a 7 ans
scripts Rename uwsgi config file; add top script. il y a 7 ans
static Campaign module style tweaks. il y a 7 ans
templates Add zKillboard API support; implement most of campaign updating. il y a 7 ans
.gitignore Add database to campaigns module; flesh out more. il y a 7 ans
LICENSE Flask basics, style. il y a 7 ans
README.md Use 'flask run' instead of './app'. il y a 7 ans
app.py Use 'flask run' instead of './app'. il y a 7 ans
requirements.txt Rename uwsgi config file; add top script. il y a 7 ans

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