Skip to content

Commit

Permalink
deploy: Update Makefile for environment file check.
Browse files Browse the repository at this point in the history
Changed the error message in the Makefile to reference .env.development
instead of .env. This ensures consistency with the project’s development
environment setup.

Signed-off-by: Nikolay Martyanov <nikolay@zededa.com>
  • Loading branch information
OhmSpectator committed Jul 11, 2024
1 parent e729810 commit a1c3077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployment/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ REQUIRED_ENV_VARS = DB_NAME DB_USER DB_PASSWORD GADM_FILE POSTGIS_VERSION
# ---- Environment Checks ----
check-env:
@if [ ! -f $(ENV_FILE) ]; then \
echo "Error: .env file is missing. Initialize it from .env.example."; \
echo "Error: .env.development file is missing. Initialize it from .env.development.example."; \
exit 1; \
fi
@for var in $(REQUIRED_ENV_VARS); do \
Expand Down

0 comments on commit a1c3077

Please sign in to comment.