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.

9 年之前
7 年之前
9 年之前
9 年之前
1234567891011121314151617181920212223242526272829303132333435363738
  1. calefaction
  2. ===========
  3. __calefaction__ is a corporation manager and dashboard for the video game
  4. [EVE Online](https://www.eveonline.com/).
  5. Guide
  6. -----
  7. ### Install
  8. git clone git@github.com:earwig/calefaction.git
  9. cd calefaction
  10. python3 -m venv venv
  11. . venv/bin/activate
  12. pip install -r requirements.txt
  13. ### Setup
  14. cp config/config.yml.sample config/config.yml
  15. vim config/config.yml # follow instructions
  16. cat data/schema.sql | sqlite3 data/db.sqlite3
  17. mkdir logs
  18. sudo chmod 0600 config/config.yml data/db.sqlite3
  19. sudo chown www-data:www-data config/config.yml data data/db.sqlite3 logs
  20. ... # TODO: convert these into scripts, add SDE instructions, add module instructions
  21. ### Test
  22. export FLASK_APP=`pwd`/app.py
  23. export FLASK_DEBUG=1
  24. flask run
  25. # go to http://localhost:5000
  26. ### Deploy
  27. uwsgi --ini config/uwsgi.ini
  28. # proxy to http://127.0.0.1:9001