From 752aeb908236c9e1db2a9ed52de7e7ab8e7a9303 Mon Sep 17 00:00:00 2001 From: Marvin Blum Date: Tue, 28 May 2024 16:16:15 +0200 Subject: [PATCH] Files --- .gitignore | 1 + README.md | 4 ++++ dev_config.json | 42 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 .gitignore create mode 100644 dev_config.json diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d344ba6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +config.json diff --git a/README.md b/README.md index 51b8ad2..3002f2e 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ # marvinblum.de My [website](https://marvinblum.de) built with [Shifu](https://github.com/emvi/shifu). + +## Running Locally + +Copy `dev_config.json` to `config.json` and start Shifu using `shifu` inside the project directory. diff --git a/dev_config.json b/dev_config.json new file mode 100644 index 0000000..68e4f63 --- /dev/null +++ b/dev_config.json @@ -0,0 +1,42 @@ +{ + "dev": true, + "server": { + "host": "localhost", + "port": 8080, + "shutdown_time": 30, + "write_timeout": 5, + "read_timeout": 5, + "hostname": "marvinblum.de", + "secure_cookies": false, + "cookie_domain_name": "marvinblum.de" + }, + "content": { + "provider": "git", + "update_seconds": 30, + "repository": "https://github.com/Kugelschieber/marvinblum.git" + }, + "cors": { + "origins": "*", + "loglevel": "info" + }, + "sass": { + "entrypoint": "main.scss", + "dir": "assets/scss", + "watch": true, + "out": "static/web/main.css", + "out_source_map": "static/web/main.css.map" + }, + "js": { + "entrypoint": "main.js", + "dir": "assets/js", + "watch": true, + "out": "static/web/main.min.js" + }, + "analytics": { + "provider": "", + "client_id": "", + "client_secret": "", + "subnets": null, + "header": null + } +}