Gitignore .envrc, add .envrc.example

.envrc contains local config (data dir paths) and should not be tracked.
Add .envrc.example documenting available env vars with defaults.
This commit is contained in:
2026-07-14 15:12:57 +00:00
parent 519df610e8
commit 282d255c0a
3 changed files with 13 additions and 4 deletions

4
.envrc
View File

@@ -1,4 +0,0 @@
# Wild Central dev environment
export WILD_CENTRAL_ENV=development
export WILD_CENTRAL_DATA_DIR=/var/lib/wild-central
export WILD_CENTRAL_VITE_URL=http://localhost:5174

12
.envrc.example Normal file
View File

@@ -0,0 +1,12 @@
# Wild Central dev environment
# Copy to .envrc and adjust as needed: cp .envrc.example .envrc
export WILD_CENTRAL_ENV=development
export WILD_CENTRAL_DATA_DIR=/var/lib/wild-central
# Frontend dev server (for Vite proxy in dev mode)
export WILD_CENTRAL_VITE_URL=http://localhost:5174
# Uncomment to override default ports (5055 API, 4222 NATS)
# export WILD_CENTRAL_PORT=5055
# export WILD_CENTRAL_NATS_PORT=4222

1
.gitignore vendored
View File

@@ -4,3 +4,4 @@ coverage.out
coverage.html
.claude/
CLAUDE.md
.envrc