fix: env vars respected by make dev #10

This commit is contained in:
Leon
2025-08-06 21:05:30 +02:00
parent 68254e45f4
commit 95e14bac1a

View File

@@ -49,9 +49,9 @@ install-frontend:
dev: ## Start development servers
@echo ">>> Starting development servers..."
@echo ">>> Starting backend server..."
@cd backend && uv run uvicorn app.main:app --reload &
@bash -c 'set -a; source .env; set +a; cd backend && uv run uvicorn app.main:app --reload' &
@echo ">>> Starting frontend server..."
@cd frontend && npm run dev
@bash -c 'set -a; source .env; set +a; cd frontend && npm run dev'
.PHONY: test
test: test-backend test-frontend ## Run all tests