Reviewed-on: #43 Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl> Co-committed-by: Felipe Contreras Salinas <felipe@bstr.cl>
725 B
725 B
huellas
This service is backed by an Axum server and uses a raw Typescript front-end using Leaflet.js.
Development
To run the application locally, just do
cargo run
To compile the front-end code, go to the ts-client folder, install the dependencies
with
npm install
and then run
make
Install git hooks
Run the following from the project root:
hooks/install.sh
Migrations
We use the sqlx CLI to manage migrations. To create a new one run
cargo sqlx migrate add
Cross-architecture building
Images are built for arm64 on a juicier machine using
docker buildx build --platform=linux/arm64 . -t oolong.ludwig.dog/pitbuster/huellas:X.Y.Z