aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 6e6e3bb70be2ee24bf83c7d0ef234a5f4e837a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# clog

An attempt to reimplement flog, using the [kore.io](https://kore.io) framework.

## Running

```sh
make fetch-dependencies
docker compose up
```

## Notes

To run locally modify `conf/clog.conf`, comment out `root /var/chroot/` and uncomment
the `skip chroot` section:

```conf
privsep worker {
	runas clog

	# root /var/chroot/

	skip chroot
}
```

Maybe disable `seccomp_tracing` in `conf/clog.conf` if running into problems:

```conf
seccomp_tracing no
# seccomp_tracing yes
```

## Bootstrapping the database

`psql` and load `db/db.sql`, `db/data.sql` for `db/data.sql`.

## TODO

1. Have `tests.py` load and drop database.
1. ~Only do HTTP stuff at the edge.~
1. `PUT`/`PATCH`? posts.
1. pagination