diff --git a/README.md b/README.md index b4d25d5..db9ca95 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,14 @@ # Standard Go Project Template This is a template for Go application projects based on [Standard Go Project Layout](https://github.com/golang-standards/project-layout). + + ### Build, run and test application locally #### Create environment file Create and fill environment file from template `.env.dist` ``` shell -cp .env.dist .env +cp configs/.env.dist .env ``` #### Build application @@ -25,12 +27,14 @@ go build -ldflags "-s -w" -o bin/app . go test ./... ``` + + ### Build, run and debug application with docker #### Create environment file for docker Create and fill environment file from template `.env.dist` ``` shell -cp .env.dist .env.docker +cp configs/.env.dist .env.docker ``` #### Build docker container diff --git a/.env.dist b/configs/.env.dist similarity index 100% rename from .env.dist rename to configs/.env.dist