|
il y a 6 ans | |
---|---|---|
calefaction | il y a 6 ans | |
config | il y a 7 ans | |
data | il y a 7 ans | |
scripts | il y a 7 ans | |
static | il y a 7 ans | |
templates | il y a 7 ans | |
.gitignore | il y a 7 ans | |
LICENSE | il y a 7 ans | |
README.md | il y a 7 ans | |
app.py | il y a 7 ans | |
requirements.txt | il y a 7 ans |
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 templates/.cache
sudo chmod 0600 config/config.yml data/db.sqlite3
sudo chown www-data:www-data config/config.yml data data/db.sqlite3 logs templates/.cache
... # TODO: convert these into scripts, add SDE instructions, add module instructions
export FLASK_APP=`pwd`/app.py
export FLASK_DEBUG=1
flask run
# go to http://localhost:5000
uwsgi --ini config/uwsgi.ini
# proxy to http://127.0.0.1:9001