diff --git a/.env.example b/.env.example index ce7d277..9ed7edf 100644 --- a/.env.example +++ b/.env.example @@ -1,10 +1,10 @@ APP_NAME=Go.Gin.Template -DB_HOST = -DB_USER = postgres -DB_PASS = -DB_NAME = -DB_PORT = 5432 +DB_HOST=postgres +DB_USER=postgres +DB_PASS= +DB_NAME= +DB_PORT=5432 NGINX_PORT=80 GOLANG_PORT=8888 diff --git a/README.md b/README.md index 1d5c05d..d4dee9b 100644 --- a/README.md +++ b/README.md @@ -15,13 +15,17 @@ There are 2 ways to do running ```bash cp.env.example .env ``` -2. Build Docker +2. Build Docker ```bash - docker-compose build --no-cache + make up ``` -3. Run Docker Compose +3. Run Initial UUID V4 Auto Generate ```bash - docker compose up -d + make init-uuid + ``` +4. Run Migration and Seeder + ```bash + make migrate-seed ``` ### Without Docker