Go to file
Matthew Gordon c0a056cf13 Remove indirect deps from dev-python-requirements.txt 2024-03-08 09:08:41 -04:00
scripts Separate db tests from unit tests 2024-03-07 08:35:03 -04:00
src Add new user sign-up 2024-03-08 08:56:13 -04:00
static Add static file serving with favicons 2024-02-10 14:17:45 -04:00
templates Create new user sign-up page 2024-03-05 14:00:45 -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 Add new user sign-up 2024-03-08 08:56:13 -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 Remove indirect deps from dev-python-requirements.txt 2024-03-08 09:08:41 -04:00
dev.py Separate db tests from unit tests 2024-03-07 08:35:03 -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