hyperlog/scripts/dev.sh
kjuulh 6a147ba0d2
All checks were successful
continuous-integration/drone/push Build is passing
feat: with basic server
Signed-off-by: kjuulh <contact@kjuulh.io>
2024-05-11 15:51:01 +02:00

13 lines
315 B
Bash
Executable File

#!/usr/bin/env zsh
echo "starting services"
docker compose -f templates/docker-compose.yaml up -d --remove-orphans
tear_down() {
docker compose -f templates/docker-compose.yaml down -v || true
}
trap tear_down EXIT
RUST_LOG=trace,tokio=info,tower=info,mio=info,sqlx=info cargo run -F include_server -- serve