From 47f793166006881536112f32bcab9d5649ed9456 Mon Sep 17 00:00:00 2001 From: Caknoooo Date: Sat, 13 Jul 2024 21:26:05 +0700 Subject: [PATCH] docs: update readme --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index c09ca41..089519c 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,22 @@ Clean Architecture proposes a structured application design with several layers - PostgreSQL Version `>= version 15.0` ## How To Use +There are 2 ways to do running +### With Docker +1. Copy the example environment file and configure it: + ```bash + cp.env.example .env + ``` +2. Build Docker + ```bash + docker-compose build --no-cache + ``` +3. Run Docker Compose + ```bash + docker compose up -d + ``` + +### Without Docker 1. Clone the repository or **Use This Template** ```bash git clone https://github.com/Caknoooo/go-gin-clean-starter.git