This repository has been archived on 2024-01-11. You can view files and clone it, but cannot push or open issues or pull requests.
admin/README.md

29 lines
610 B
Markdown

# admin
quick little admin panel.
## todo
- [ ] respectable web ui
- [ ] signup form
- [ ] lots of db code
- [ ] gitea authentication
- [ ] pam auth (maube?)
- [ ] automatic user creaton/deletion
- [ ] 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.