34 lines
1.2 KiB
Markdown
Executable File
34 lines
1.2 KiB
Markdown
Executable File
## Authoring service
|
|
|
|
Standalone local authoring UI for the Org website content in:
|
|
|
|
`/home/zaine/master-folder/org-platform/org_web`
|
|
|
|
Run:
|
|
|
|
```sh
|
|
make author
|
|
```
|
|
|
|
Then open `http://127.0.0.1:8765`.
|
|
|
|
The service is installed as the user systemd unit `org-web-authoring.service`.
|
|
|
|
Useful commands:
|
|
|
|
- `make test` runs the authoring server unit tests.
|
|
- `make author-install` installs and enables the user service.
|
|
- `make author-restart` restarts the service.
|
|
- `make author-status` shows service status and editable page count.
|
|
- `make author-diagnostics` shows runtime diagnostics.
|
|
- `make author-logs` shows recent service logs.
|
|
|
|
The service code runs from this repository. The editable content root is set by `AUTHOR_CONTENT_ROOT` in `systemd/user/org-web-authoring.service`; it currently points at the website repository. Hidden-details backups are stored in this repository under `backups/hidden-details`.
|
|
|
|
Code layout:
|
|
|
|
- `authoring_server.py` is the compatibility executable used by systemd.
|
|
- `src/authoring_service/` contains the implementation modules.
|
|
- `src/tests/` contains the unit tests.
|
|
- `docs/hidden-memory-architecture.md` documents the Fragment/Memory/Story model used by the Hidden Memory Observatory.
|