2022-07-18 07:23:49 +02:00
|
|
|
# huellas
|
2024-01-19 18:37:51 -03:00
|
|
|
This service is backed by an Axum server and uses a raw Typescript front-end using
|
|
|
|
|
Leaflet.js.
|
2022-07-18 07:23:49 +02:00
|
|
|
|
2024-01-19 18:37:51 -03:00
|
|
|
## 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
|
|
|
|
|
```
|