This backend Go workspace will be used as a template or references from any of my future project
This works were inspired and referenced from workspace project
- Run the following command in local
tilt up
and pressspace
to jump to the tilt dashboard - PostgreSQL Can be access by pgadmin4, the user can be either
postgres
orbego
, password:password
- Troubleshooting: If you got some trouble with publishing image
Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
especially when running in Rancher-desktop, then executesudo ln -s ~$USER/.rd/docker.sock /var/run/docker.sock
to map the docker.sock to /var/run/
- Install Rancher-desktop and docker-compose. Make sure both
docker
anddocker-compose
work properly - Deploy
postgreSQL
bydocker-compose -f external/apis/docker-compose.yaml up -d
- Run apis (which is our sample app) by
go run ./external/apis/cmd/apis/...