commit 330526812377f02668dbf3355cfe5f401fec3354 parent 6f2cbfe6ae362e8dd74eac60426e4883f0b18b2f Author: Alexander Cobleigh <cblgh@cblgh.org> Date: Tue, 11 Jan 2022 22:19:33 +0100 Merge pull request #2 from Thomasorus/main Added local development instructions in the README Diffstat:
M | README.md | | | 12 | ++++++++++++ |
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/README.md b/README.md @@ -14,3 +14,15 @@ tinge of nostalgia that comes with the terrain, from having grown up in pace wit phpBB forum communities of the mid naughties. It was written for the purpose of powering the nascent [Merveilles community forums](https://forum.merveilles.town). + +## Local development + +Install [golang](https://go.dev/). + +To launch a local instance of the forum, run those commands (linux): + +- `touch temp.txt` +- `mkdir data` +- `go run run.go --authkey 0 --allowlist temp.txt` + +It should respond `Serving forum on :8272`. Just go on [https://localhost:8272](https://localhost:8272).