Website that hosts a real-life financial game
Before submitting, make sure to run black
, pylint
, and flake8
and ensure test coverage is at 100%.
If you're on macOS or Linux, you can just run python3 pr_build.py format
which will do all this for you.
On macOS or Linux:
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
python3 -m financial_game
On Windows:
py -m venv .venv
.venv\Scripts\activate
pip install -r requirements.txt
py -m financial_game
It will create:
- macOS:
~/Library/Preferences/financial_game.yaml
- Linux:
~/.financial_game.yaml
- Windows:
%LOCALAPPDATA%\financial_game.yaml
You can use a different location by specifying --settings <path to yaml file>
.
This file contains many of the parameters you can pass (or did pass) on the command line.
To get the full list of options on the command line: python3 -m financial_game --help
.