diff --git a/README.md b/README.md index 1886c0a..690fd29 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ The infrastructure consists of the following components: - Optimization workers ## Setup infrastructure -Copy `.env-template` to `.env` and fill with the appropriate values. +Copy `.env.template` to `.env` and fill with the appropriate values. To setup the infrastructure components (for windows run in `Git Bash`): ``` ./scripts/setup.sh diff --git a/scripts/_load_dot_env.sh b/scripts/_load_dot_env.sh index 60e3f3a..982cfb7 100644 --- a/scripts/_load_dot_env.sh +++ b/scripts/_load_dot_env.sh @@ -11,7 +11,7 @@ else echo ".env file at ${PATH_TO_DOT_ENV} does not exist. Environment variables are expected to be set in another way." fi -ENV_VARS=$(cat ./.env-template | sed 's/\=.*//' | grep . -) +ENV_VARS=$(cat ./.env.template | sed 's/\=.*//' | grep . -) any_missing=false while IFS= read -r ENV_VAR; do diff --git a/scripts/test_system.sh b/scripts/test_system.sh index c703469..b6ce826 100755 --- a/scripts/test_system.sh +++ b/scripts/test_system.sh @@ -6,7 +6,7 @@ export COMPOSE_PROJECT_NAME=omotes_system_tests ENV_FILE=".env.test" DOCKER_COMPOSE_FILE="./docker-compose.yml -f system_tests/docker-compose.override.yml" -cp .env-template ${ENV_FILE} +cp .env.template ${ENV_FILE} sed -i 's/LOG_LEVEL=[a-z]*/LOG_LEVEL=WARNING/gi' ${ENV_FILE} $DOCKER_COMPOSE --env-file ${ENV_FILE} -f $DOCKER_COMPOSE_FILE down -v