Go to file
Matthew Gordon 3d4a34611b Add basic build instructions to README.md 2024-03-02 20:14:46 -04:00
scripts Add unit test runner 2024-03-02 20:06:15 -04:00
src Fix type on docs 2024-03-01 22:39:07 -04:00
static Add static file serving with favicons 2024-02-10 14:17:45 -04:00
templates Setup and authentication WIP 2024-02-26 11:13:32 -04:00
.gitattributes Add static file serving with favicons 2024-02-10 14:17:45 -04:00
.gitignore Break dev scripts into modules 2024-03-02 19:20:30 -04:00
Cargo.toml Remove thiserror and continue error handling improvements 2024-02-28 12:07:12 -04:00
LICENSE Initial commit 2024-02-10 16:06:33 +00:00
README.md Add basic build instructions to README.md 2024-03-02 20:14:46 -04:00
dev Add scripts to run Postgres in docker 2024-03-01 22:41:09 -04:00
dev-python-requirements.txt Add scripts to run Postgres in docker 2024-03-01 22:41:09 -04:00
dev.py Add basic build instructions to README.md 2024-03-02 20:14:46 -04:00
pyproject.toml Add pyproject.toml with autopep8 config 2024-03-02 16:40:08 -04:00

README.md

Locality

The dev script starts a Docker image for the Postgres server, runs cargo run or cargo test, and then removes the created Docker container.

Docker must be set up to run rootless for this script to work.

The script is able to install it's own dependencies into a Python virtual environment:

# Install
./dev devupdate

Build and run the server locally:

./dev run

Run unit tests:

./dev unittest