A simple website to guide your team playing College Football Risk.
You'll need to create a .env
file in the repo root with these contents:
DOMAIN="localhost"
HTTP_PORT=8080
THE_GOOD_GUYS="Michigan"
REDDIT_CLIENT_ID="..."
REDDIT_CLIENT_SECRET="..."
You will need to create a Reddit "app".
http://localhost:8080/reddit_callback
.REDDIT_CLIENT_ID
.REDDIT_CLIENT_SECRET
.The app is designed to run on a *nix system, but it can be done on Windows too. Message EpicWolverine if you need WSL help.
sudo apt install python3 python3-venv make sqlite3
make install_venv
pip install -r requirements.txt
. I had issues with the venv on WSL.source venv/bin/activate
../init_db.sh
to initilize the database.python ingest_orders.py <path>
to fill the DB with some data.python flask_app.py
to start the webserver.