Repository navigation
Getting Started
OwnCMS is one program with its web interface built in. It keeps its data in SQLite in a data directory, or in Postgres.
There is no release yet; build it from source. You need Go (the version in go.mod) and Node.js.
git clone https://github.com/ownlabs-dev/owncms.git && cd owncms
make build
bin/owncms serve -data ./data -listen 127.0.0.1:8080With Postgres instead of SQLite, give its address in the environment:
OWNCMS_DATABASE='postgres://user:password@localhost:5432/owncms?sslmode=disable' bin/owncms serve -data ./dataBehind a reverse proxy that terminates HTTPS, tell OwnCMS its address with -trusted-proxies. All flags: Reference.
At the first start OwnCMS writes a one-time setup code to its log:
level=WARN msg="OwnCMS is not set up yet: …" setup_code=ABCD-EFGH-…
Open /admin/ in the browser, enter the code, your e-mail address and a password. The code is useless once the first administrator exists. A forgotten password is reset on the server: owncms admin reset-password you@example.com.
- Let an AI program work in OwnCMS: AI programs.
OwnCMS: https://github.com/ownlabs-dev/owncms. This wiki is generated from the wiki/ folder in the repository; edit the files there, not in the wiki.
OwnCMS
Using it
- Getting Started
- Sites
- Content types
- Entries
- Media
- Reading content
- People
- Two-factor sign-in
- AI programs
Running it
Background