Update .env.example with all variables and simplify .gitignore

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
bipproduction
2026-04-01 10:38:20 +08:00
parent 08a1054e3c
commit 816db7568c
2 changed files with 17 additions and 5 deletions

View File

@@ -4,3 +4,18 @@ NODE_ENV=development
# Dev Inspector # Dev Inspector
REACT_EDITOR=code REACT_EDITOR=code
# Database
DATABASE_URL=postgresql://user:password@localhost:5432/base-template
DIRECT_URL=postgresql://user:password@localhost:5432/base-template
# Google OAuth
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# Role
SUPER_ADMIN_EMAIL=admin@example.com
# Telegram Notification (optional)
TELEGRAM_NOTIFY_TOKEN=
TELEGRAM_NOTIFY_CHAT_ID=

7
.gitignore vendored
View File

@@ -16,11 +16,8 @@ _.log
report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json report.[0-9]_.[0-9]_.[0-9]_.[0-9]_.json
# dotenv environment variable files # dotenv environment variable files
.env .env*
.env.development.local !.env.example
.env.test.local
.env.production.local
.env.local
# TanStack Router generated # TanStack Router generated
src/frontend/routeTree.gen.ts src/frontend/routeTree.gen.ts