doc: Improve README.md (#39)

Reviewed-on: #39
Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl>
Co-committed-by: Felipe Contreras Salinas <felipe@bstr.cl>
This commit is contained in:
Felipe 2024-01-19 18:38:21 -03:00 committed by Felipe
parent 3b70973210
commit 7f62b1a22d
Signed by: Ludwig
GPG key ID: 441A26F83D31FAFF

View file

@ -1,2 +1,14 @@
# huellas
This service is backed by an Axum server and uses a raw Typescript front-end using
Leaflet.js.
## Migrations
We use the `sqlx` CLI to manage migrations. To create a new one run
```shell
cargo sqlx migrate add
```
## Cross-architecture building
Images are built for arm64 on a juicier machine using
```shell
docker buildx build --platform=linux/arm64 . -t oolong.ludwig.dog/pitbuster/huellas:X.Y.Z
```