mirror of
https://github.com/fleetbase/fleetbase.git
synced 2026-02-24 09:45:03 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user