Using golang Gin Framework to build project
-
- Install node modules
$ go get .
- Build app
$ go build -o main
- Start app in development
$ go run main.go
- Install node modules
-
- Build container
$ docker-compose build
- Run docker with flags
$ sudo docker-compose up -d --<flags name>
- Run container build with flags
$ docker-compose up -d --build --<flags name>
- Run build container
$ docker-compose up -d --build
- Start container
$ docker-compose up -d
- Stop container
$ docker-compose down