fix: Update comments to reflect updating existing environment files

The console/environments directory and .env files already exist in the
repository. The install script overwrites these existing files with
the correct configuration values. Updated comments to say 'Update'
instead of 'Write/Create' and removed unnecessary mkdir -p command.
This commit is contained in:
Manus AI
2026-02-23 01:06:44 -05:00
parent 7d3b6ed18f
commit d50d3ab98b

View File

@@ -114,12 +114,11 @@ mv -f "${CONFIG_PATH}.tmp" "$CONFIG_PATH"
echo "$CONFIG_PATH updated"
###############################################################################
# 6b. Write console environment files (.env.development and .env.production)
# 6b. Update console environment files (.env.development and .env.production)
###############################################################################
ENV_DIR="$CONFIG_DIR/environments"
mkdir -p "$ENV_DIR"
# Write .env.development
# Update .env.development
cat > "$ENV_DIR/.env.development" <<ENV_DEV
API_HOST=http://$HOST:8000
API_NAMESPACE=int/v1
@@ -130,7 +129,7 @@ SOCKETCLUSTER_PORT=38000
OSRM_HOST=https://router.project-osrm.org
ENV_DEV
# Write .env.production
# Update .env.production
cat > "$ENV_DIR/.env.production" <<ENV_PROD
API_HOST=https://$HOST:8000
API_NAMESPACE=int/v1