add build instructions to the readme

This commit is contained in:
leah 2022-01-28 00:34:51 +00:00
parent 69c6569a0d
commit 1908df3216
1 changed files with 19 additions and 1 deletions

View File

@ -8,4 +8,22 @@ quick little admin panel.
- [ ] gitea authentication
- [ ] pam auth (maube?)
- [ ] automatic user creaton/deletion
- [ ] resource usage dashboard
- [ ] 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.