Getting started¶
Cuhlumn runs as one server process.
The server reads the Host header of each request to decide which blog to show.
flowchart LR
reader[Reader] -->|blog.example.com| proxy[TLS proxy]
writer[Writer or agent] -->|API with token| proxy
admin[Admin in a browser] -->|admin.example.com| proxy
proxy --> server[cuhlumn-server]
server --> db[(cuhlumn.db)]
server --> media[(media folder)]
Steps¶
- Install the server with Docker or from source.
- Point each blog domain and the console domain at the server.
- Put a TLS proxy in front of the server that passes the
Hostheader. - Follow the quick start to create a blog and publish a post.
Concepts¶
| Term | Meaning |
|---|---|
| Site | One blog with one canonical domain |
| Alias | Another domain of a site that redirects to the canonical domain |
| Post | A dated article that appears in the post list and the feed |
| Page | An undated entry, such as About, that appears in the header |
| Draft | A saved post or page that readers cannot see |
| Admin token | The secret in CUHLUMN_TOKEN that gives access to every site |
| Console domain | The domain in CUHLUMN_CONSOLE_HOST that serves the management console |