There are two ways to run the application. The first is to setup all dependencies manually. The second is to use docker images and docker compose.
-
Create
.env
fileYou can copy the
env.sample
and change its values.$ cp env.sample .env
-
Run the application
$ go run main.go
-
Install Docker Compose.
-
Download the dependencies
$ make tidy
-
Compile the backend binary
$ make compile-server
-
Build backend-server image
$ make docker-build-server
-
Run docker compose
$ docker-compose up