- Postgres
- Python 3.x
Update the info in settings.example
cp settings.example settings
nano settings # add api settings.
pip install -r requirements.txt
export SETTINGS="`pwd`/settings"
export FLASK_APP=screeps_loan/screeps_loan.py
python db/manage.py version_control
python db/manage.py upgrade
flask run
flask import_users #This actually will run map stats to get all users on the map
flask import_alliances #Importing alliance from alliances.js file
Bash wrapper scripts are provided to make updating easier.
./bin/import_users
./bin/import_alliances
- Install vagrant.
- Copy
provisioning/settings
to project root and add your screeps api credentials. - Run
vagrant up
in the project root. - Wait.
- Once complete open http://127.0.0.1:8080/ in a browser.