better dev runner, bug fixes, design changes, and more

This commit is contained in:
Zoe
2024-09-11 00:57:33 -05:00
parent 70a9bcd904
commit 1fb4c71b2b
14 changed files with 377 additions and 81 deletions

View File

@@ -4,3 +4,21 @@
- bun
- go
## Getting started
To run filething, run
```BASH
go generate
go build -tags netgo -ldflags=-s
DB_HOST=localhost:5432 DB_NAME=filething DB_USER=postgres STORAGE_PATH=data ./filething
```
### Contributing
To run filething in dev mode with a hot reloading Ui server and auto rebuilding backend server, run
```BASH
DB_HOST=localhost:5432 DB_NAME=filething DB_USER=postgres STORAGE_PATH=data CompileDaemon --build="go build -tags netgo,dev -ldflags=-s" --command=./filething --exclude-dir=data/ --graceful-kill
```