Files
cybertron/README.md

50 lines
626 B
Markdown
Raw Permalink Normal View History

2024-07-23 18:31:33 +05:30
# Cyber tron service
## 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
```
2024-08-21 13:04:27 +05:30
## Hot reload in local
### Install Air
```cmd
go install github.com/air-verse/air@latest
```
### Run air
```cmd
air
```
2024-07-23 18:31:33 +05:30
2024-07-23 14:16:26 +05:30
Important pointer - When using golang-migrate for migrations, the naming convention for migration files should be -
```202310201651_initial-migration.up.sql```