Skip to content

BadCpp/ultimate-tic-tac-toe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ultimate-tic-tac-toe

A server to host ultimate tic-tac-toe tournaments

Running the server

First, generate a secret using init.sh:

./init.sh

Docker

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.

Native

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

About

A server to host ultimate tic-tac-toe tournaments

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jinja 53.6%
  • Python 38.8%
  • CSS 3.9%
  • Shell 1.9%
  • Dockerfile 1.8%