From 1908df3216720bd4354a8bf30339d3759b2d5f97 Mon Sep 17 00:00:00 2001 From: leah Date: Fri, 28 Jan 2022 00:34:51 +0000 Subject: [PATCH] add build instructions to the readme --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed3633f..d744896 100644 --- a/README.md +++ b/README.md @@ -8,4 +8,22 @@ quick little admin panel. - [ ] gitea authentication - [ ] pam auth (maube?) - [ ] automatic user creaton/deletion -- [ ] resource usage dashboard \ No newline at end of file +- [ ] resource usage dashboard + +## how 2 build + +you need to build the stylesheet with tailwind first: +``` +npm i -g tailwindcss +npx tailwindcss -i ./resources/main.css -o ./resources/build/main.css --watch +``` + +then just build it +``` +go get +go build +``` + +### how 2 run + +copy the config.example.yml file to config.yml and edit the values accordingly, then just run the binary and crack it open in your web browser. \ No newline at end of file