Ben Kurtovic 0e9949b31b | 8 lat temu | |
---|---|---|
calefaction | 8 lat temu | |
config | 8 lat temu | |
data | 8 lat temu | |
scripts | 8 lat temu | |
static | 8 lat temu | |
templates | 8 lat temu | |
.gitignore | 8 lat temu | |
LICENSE | 8 lat temu | |
README.md | 8 lat temu | |
app.py | 8 lat temu | |
requirements.txt | 8 lat temu |
calefaction is a corporation manager and dashboard for the video game EVE Online.
git clone git@github.com:earwig/calefaction.git
cd calefaction
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
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
./app.py
# go to http://localhost:8080
uwsgi --ini config/uwsgi.ini
# proxy to http://127.0.0.1:9001