- Set up your
.venv
- Install the library
Activate your .venv
if you haven't already:
source ../.venv/bin/activate
Install dependencies:
python -m pip install pyproject.toml
python -m pip install -r requirements.txt
python -m pip install -r requirements.development.txt
python -m api.app
The API development server runs on http://127.0.0.1:5000/ by default.
View the production docs at https://tic-tac-toe-backends.fly.dev/docs View the local docs at http://127.0.0.1:5000/docs
python -m coverage run -m unittest discover tests
Watch tests:
ptw
Report coverage:
python -m coverage report
Install production dependencies:
python -m pip install -r requirements.production.txt
Run:
gunicorn wsgi:app