bobertoyin / cubecrit

A website for reviewing speedcubes.
0 stars 0 forks source link

CubeCrit

A website for reviewing speedcubes.

Local Development

Requirements

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

Running Locally

# 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

Database Schema

DB Diagram