A server to host ultimate tic-tac-toe tournaments
First, generate a secret using init.sh
:
./init.sh
In the root of the repository, run:
docker compose up
To run the server in development mode, run:
ENV=dev docker compose up
By default, Flask's auto-reloading feature is turned on.
First, load the secret key:
source .env
Then, install the necessary python libraries (I recommend a venv):
python3 -m venv ./venv
source venv/bin/activate
pip install -r server/requirements.txt
Install mongodb (see here)
Start a mongod instance:
For Mac:
brew services start [email protected]
For Linux:
mongod
Start the app:
cd server && flask --app app.py --debug run