Simple application to simulate drawing tiles from a Scrabble bag.
Create a new game, send the code to the other players and invite them to join.
Codes are generated randomly and a clash with a previous game would cause errors. This is very unlikely, but for peace of mind, clear the database occasionally using flask flush
.
To run backend admin commands locally, use a connection to the remote database.
Install virtual environment. python3 -m venv venv
Install dependencies from requirements.txt. pip install -r requirements.txt
Set environment variables, including the DATABASE_URL
environment variable to connect to the remote database. Get the URL from: heroku config:get DATABASE_URL