forked from cybercinch/openaccounting-server
f547d8d75b0422a563747d578f744da5ae047b94
- Replace basic config loading with Viper framework - Add support for multiple config sources (files, env vars, defaults) - Add mapstructure tags for proper config binding - Support JSON, YAML, and TOML config formats - Add environment variable support with OA_ prefix - Implement secure config loading with multiple search paths - Maintain backward compatibility with existing config.json files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
Open Accounting Server
Prerequisites
- Go 1.8+
- MySQL 5.7+
Database setup
Use schema.sql and indexes.sql to create a MySQL database to store Open Accounting data.
Configuration
Copy config.json.sample to config.json and edit to match your information.
Run
go run core/server.go
Build
go build core/server.go
Docker
If you are interested in running Open Accounting via Docker, @alokmenghrajani has created a repo for this.
Help
Join our Slack chatroom and talk with us!