# Log enricher service for cybertron project ## Frontend error monitoring service ### How to Run #### Install Go ```cmd 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 ```cmd make run-local ``` ### Final Build ```cmd make run-all ``` ### Install Air ```cmd go install github.com/air-verse/air@latest ``` ### Run air ```cmd air ``` ## How to build on local using docker Remove double quotes from kafka-password if it contians special characters ```shell 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```