feat: Add dev environment config (.envrc + .air.toml)

Configure Wild Central for development alongside Wild Cloud:
- Port 15055 (avoids conflict with Wild Cloud on 5055)
- NATS port 14222 (avoids conflict with production NATS)
- Data dir shared with wild-cloud-redmond-data
- Air config for live reloading

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-09 04:13:58 +00:00
parent 735f3fcb05
commit 6eabc7d670
2 changed files with 24 additions and 0 deletions

19
.air.toml Normal file
View File

@@ -0,0 +1,19 @@
root = "."
tmp_dir = "tmp"
[build]
bin = "./tmp/main"
cmd = "go build -o ./tmp/main ."
delay = 1000
exclude_dir = ["tmp", "build", "dist", "vendor", "web"]
exclude_regex = ["_test.go$"]
include_ext = ["go", "yaml"]
kill_delay = "0s"
send_interrupt = true
stop_on_error = true
[log]
time = false
[misc]
clean_on_exit = true

5
.envrc Normal file
View File

@@ -0,0 +1,5 @@
# Wild Central dev environment
# Shares data dir with Wild Cloud for development
export WILD_CENTRAL_DATA_DIR=$HOME/repos/wild-cloud-dev/wild-cloud-redmond-data
export WILD_CENTRAL_PORT=15055
export WILD_CENTRAL_NATS_PORT=14222