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:
4
Makefile
4
Makefile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user