From ac33d95b6cf2b5d8d678bc9e433951045aaa98d5 Mon Sep 17 00:00:00 2001 From: GolangBoy Date: Mon, 13 Feb 2023 13:27:05 +0800 Subject: [PATCH] docs: Update README.md --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 594adb4..8c7285f 100644 --- a/README.md +++ b/README.md @@ -64,6 +64,23 @@ Next, you can access sonic through the browser. The URL of the admin console is http://ip:port/admin The default port is 8080. + +## 🔨️ Build +**1. Pull Project** +```bash +git clone https://github.com/go-sonic/sonic +``` +**2. Pull Default Theme** +```bash +cd sonic +rm -r resources/template/theme/default-theme-anatole +git submodule update --init --recursive +``` +**3. Run** +```bash +go run main.go +``` + ## Docker See: https://hub.docker.com/r/gosonic/sonic