-
-
Notifications
You must be signed in to change notification settings - Fork 137
Home
In order to run this project you need to have Docker > 1.17.05 installed for building the production image.
git clone [email protected]:vardius/go-api-boilerplate.git
Create your local .env
file from dist.env
files.
For each of binaries when building a docker image the environment variable file will be passed (Located in the binary directory). This repository contains example .env
file for server
binary. There is also .env
file containing local configurations and is to be git ignored where dist.env contains versioned example of project configuration.
Remember to set PKG
variable pointing to your repository, also change all imports from github.com/vardius/go-api-boilerplate/*
to your-repository/*
Repository holds two top-level directories, pkg
and cmd
.
pkg
contains directories for each of bounded context.
cmd
contains directories for each of binaries.