M api/README.md => api/README.md +7 -0
@@ 2,3 2,10 @@
Use the `RUST_LOG` environment variable to configure logging level.
Defaults to `RUST_LOG=info` in the default docker-compose.yaml.
+
+## Scripts
+`scripts/dev-start-db.sh` can be used to manage a PostgreSQL database in a
+development environment. Uses `docker-compose.dev.yaml` to set it up.
+
+`scripts/dev-migr.sh` can be used to run migration in the development
+database that the other script sets up.
M api/scripts/dev-start-db.sh => api/scripts/dev-start-db.sh +0 -3
@@ 19,7 19,4 @@ function confirm() {
confirm reset containers? && docker compose --file docker-compose.dev.yaml down
confirm reset database? && docker volume rm laurelin_laurelindb_data
-
-confirm rebuild api? && docker compose --file docker-compose.dev.yaml build
-
confirm launch? && docker compose --file docker-compose.dev.yaml up