chore(env): split dev/prod env files and clarify keycloak settings

This commit is contained in:
Chris
2026-04-03 14:43:13 +08:00
parent c032020f59
commit 94cec746cb
5 changed files with 56 additions and 47 deletions

View File

@@ -3,12 +3,9 @@ set -euo pipefail
cd "$(dirname "$0")/.."
source .venv/bin/activate
if [ -f ".env.development" ]; then
ENV_FILE=".env.development"
elif [ -f ".env" ]; then
ENV_FILE=".env"
else
echo "missing .env.development or .env. copy .env.example first."
ENV_FILE=".env.development"
if [ ! -f "$ENV_FILE" ]; then
echo "missing $ENV_FILE."
exit 1
fi