Privacy first analytics app
Copy env.example
into .env
and add secrets required to run the app
- Clone the repo
- Start services:
docker compose -d up
- Stop services:
docker compse -d down
- If you want to see the logs skip
-d
and run docker compose - Not neccessary but recommended:
- Build Js Script:
npm run build-script
- Build tailwind:
npm run build-css
- Build Js Script:
- To start server:
go run main.go
ORgo build -o main && ./main
-- To run as binary
- Follow steps above for starting services
- There are watch scripts to watch for changes in the package.json
- To watch changes for
.go
files, install airgo install github.com/cosmtrek/air@latest
- Then run
air
, the config already exists so you don't need to init air - NOTE: the installation of
air
can be skipped, but remember to restart go server everytime you make a changego run main.go