add reset target to make file

This commit is contained in:
Mark Sinclair
2025-12-02 12:17:17 +00:00
parent 3ea31075fe
commit bce7871c41
3 changed files with 7 additions and 0 deletions
+3
View File
@@ -23,6 +23,9 @@ dev-db: test-db-up test-db-wait test-db-migrate ## Start PostgreSQL for developm
@echo "PostgreSQL is running on port 5433"
@echo "Connection string: $(TEST_DATABASE_URL)"
.PHONY: dev-db-restart
dev-db-restart: clean-db dev-db
# --- Docker Compose Targets ---
.PHONY: test-db-up
test-db-up: ## Start the PostgreSQL test database in the background
+1
View File
@@ -50,6 +50,7 @@ make build-pg # Build with PostgreSQL
make psql # Connect to running PostgreSQL
make clean # Clean build artifacts
make clean-db # Stop database and clean volumes
make dev-db-restart # Stop database, clean volumes, rebuild test database and restart
```
## Environment Variables
+3
View File
@@ -23,6 +23,9 @@ dev-db: test-db-up test-db-wait test-db-migrate ## Start PostgreSQL for developm
@echo "PostgreSQL is running on port 5433"
@echo "Connection string: $(TEST_DATABASE_URL)"
.PHONY: dev-db-restart
dev-db-restart: clean-db dev-db
# --- Docker Compose Targets ---
.PHONY: test-db-up
test-db-up: ## Start the PostgreSQL test database in the background