|
|
||
|---|---|---|
| scripts | ||
| src | ||
| static | ||
| templates | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.toml | ||
| LICENSE | ||
| README.md | ||
| dev | ||
| dev-python-requirements.txt | ||
| dev.py | ||
| pyproject.toml | ||
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