diff options
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 31 |
1 files changed, 12 insertions, 19 deletions
@@ -2,23 +2,26 @@ An attempt to reimplement flog, using the [kore.io](https://kore.io) framework. -# Building +## Building ``` make fetch-dependencies docker compose up ``` -# Notes +## Notes -To run locally comment out the `privsep worker` section in `conf/clog.conf`: +To run locally modify `conf/clog.conf`, comment out `root /var/chroot/` and uncomment +the `skip chroot` section: ``` -# privsep worker { -# runas clog -# -# root /var/chroot/ -# } +privsep worker { + runas clog + + # root /var/chroot/ + + skip chroot +} ``` Maybe disable `seccomp_tracing` in `conf/clog.conf` if running into problems: @@ -36,15 +39,5 @@ seccomp_tracing no ## TODO * Have `tests.py` load and drop database. -* Test content-type in responses. - -Add functions: - -get_request_type -render_json_error -render_html_error - -insert_post - -only do HTTP stuff at the edge. +* only do HTTP stuff at the edge. |