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.
2022-01-26 14:45:25 +00:00
|
|
|
# admin
|
2022-01-26 16:59:53 +00:00
|
|
|
quick little admin panel.
|
2022-01-26 14:45:25 +00:00
|
|
|
|
2022-01-26 16:59:53 +00:00
|
|
|
## todo
|
|
|
|
- [ ] respectable web ui
|
|
|
|
- [ ] signup form
|
|
|
|
- [ ] lots of db code
|
|
|
|
- [ ] gitea authentication
|
|
|
|
- [ ] pam auth (maube?)
|
|
|
|
- [ ] automatic user creaton/deletion
|
2022-01-28 00:34:51 +00:00
|
|
|
- [ ] 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.
|