23ed16b3432e30449da79949d25c2166a357cdfa
TP-5555 | log-remove
Log enricher service for cybertron project
Frontend error monitoring service
How to Run
Install Go
brew install go
brew install golang-lint
Setup postgres
You need to set-up postgres db and create a database with name cybertron_dev
Run local
make run-local
Final Build
make run-all
Install Air
go install github.com/air-verse/air@latest
Run air
air
How to build on local using docker
Remove double quotes from kafka-password if it contians special characters
docker build . -t log-enricher
docker run log-enricher --env-file local.env
Important pointer - When using golang-migrate for migrations, the naming convention for migration files should be -
202310201651_initial-migration.up.sql
Description
Languages
JavaScript
82.1%
Go
17.2%
Dockerfile
0.5%
Makefile
0.2%