mfkl / ioignition

Simple analytics platform with privacy as first class citizen

Home Page:https://ioiginition.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ioignition

Privacy first analytics app

Add secrets

Copy env.example into .env and add secrets required to run the app

Running the app locally

  • 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
  • To start server: go run main.go OR go build -o main && ./main -- To run as binary

Running development server

  • 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 air go 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 change go run main.go

About

Simple analytics platform with privacy as first class citizen

https://ioiginition.com


Languages

Language:Go 56.1%Language:CSS 31.2%Language:JavaScript 8.0%Language:HTML 3.6%Language:Dockerfile 0.6%Language:Shell 0.3%Language:Makefile 0.2%