fix: change appname to neoirc, default DB to /var/lib/neoirc/state.db #45

Merged
sneak merged 1 commits from fix/issue-44-default-db-path into main 2026-03-06 12:40:29 +01:00

1 Commits

Author SHA1 Message Date
clawbot
fd86a774ae fix: change appname to neoirc and default DB to /var/lib/neoirc/state.db
All checks were successful
check / check (push) Successful in 5s
- Change Appname from "chat" to "neoirc" in cmd/chatd/main.go
- Change default DBURL from file:./data.db to file:///var/lib/neoirc/state.db
  in both internal/config/config.go and internal/db/db.go fallback
- Create /var/lib/neoirc/ directory in Dockerfile with proper ownership
- Update README.md to reflect new defaults (DBURL, docker run example,
  SQLite backup/location docs)
- Remove stale data.db reference from Makefile clean target

The DB path remains configurable via DBURL environment variable.

Closes #44
2026-03-06 03:35:47 -08:00