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:
4
.envrc
4
.envrc
@@ -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
12
.envrc.example
Normal 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
1
.gitignore
vendored
@@ -4,3 +4,4 @@ coverage.out
|
||||
coverage.html
|
||||
.claude/
|
||||
CLAUDE.md
|
||||
.envrc
|
||||
|
||||
Reference in New Issue
Block a user