Fixed an issue with an incomplete example-config.json that made the

server not work at all.
Also added a default.css file
This commit is contained in:
deadvey
2025-10-24 12:28:22 +01:00
parent 66423cb3c0
commit 35163b5584
14 changed files with 105 additions and 131 deletions

View File

@@ -4,7 +4,7 @@ WEBROOT_DIR=webroot
all: config css users posts comments data
clean:
rm -rf data
rm -rf webroot
rm -f webroot/custom.css
rm -f config.json
# config file
@@ -17,7 +17,7 @@ config.json:
css: $(WEBROOT_DIR)/custom.css
$(WEBROOT_DIR)/custom.css:
mkdir -p webroot
echo '* {\n font-family: sans-serif;\n}' > $(WEBROOT_DIR)/custom.css
echo '* { font-family: sans-serif; }' > $(WEBROOT_DIR)/custom.css
# users.json
users: $(DATA_DIR)/users.json