A website for reviewing speedcubes.
- Python 3.11
- Poetry
- Docker
- You can also install and run PostgreSQL instead of using the Docker Compose commands
# install dependencies
poetry install
# run formatters/apply fixes
poetry run poe format
# run linters/apply checks
poetry run poe lint
# run tests
poetry run pytest
# start the local postgres db server on localhost:5432
docker compose up db
# set environment variables
export DB_ADDRESS="postgresql://cubecrit:password@localhost:5432/cubecrit"
# set environment variables for powershell
$Env:DB_ADDRESS="postgresql://cubecrit:password@localhost:5432/cubecrit"
# start the debug server on localhost:3000
poetry run poe flask-debug