Skip to content

Development

github-actions[bot] edited this page Dec 4, 2026 · 1 revision

Development

How to build, test and contribute is in CONTRIBUTING.md; the rules that are easy to break are in AGENTS.md.

In short

Command What it does
make test go vet and go test on memory and SQLite
make postgres test-postgres the same on Postgres in Docker too (make postgres-stop afterwards)
make build the web interface, then bin/owncms with it built in
make okf checks the knowledge bundle in .okf/

CI runs the Go tests on all three databases, the web interface's lint, tests and build, the knowledge bundle check and the Conventional Commits check.

Architecture and decisions

The knowledge bundle in .okf/ explains how the parts fit together, the vocabulary, the conventions and why decisions were made.

This wiki

The wiki is generated from the wiki/ folder in the repository by the wiki workflow on every push to main. Change the files there, in the same pull request as the behaviour they describe.

Clone this wiki locally