docs: Update README.md

pull/158/head
GolangBoy 2 years ago committed by 1379Monitor
parent 9fe5a5589c
commit 9f832fa3f9

@ -64,6 +64,21 @@ 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 --recursive --depth 1 https://github.com/go-sonic/sonic
```
**2. Run**
```bash
cd sonic
go run main.go
```
> To compile this package on Windows, you must have the gcc compiler installedfor example the TDM-GCC Toolchain can be found ([here](https://jmeubank.github.io/tdm-gcc/)).
🚀 Done! Your project is now compiled and ready to use.
## Docker
See: https://hub.docker.com/r/gosonic/sonic

@ -57,6 +57,20 @@ cd sonic
后台管理路径是 http://ip:port/admin
## 🔨️ 构建
**1. 拉取项目**
```bash
git clone --recursive --depth 1 https://github.com/go-sonic/sonic
```
**2. 运行**
```bash
cd sonic
go run main.go
```
> 如果你在windows上构建该项目请确保你已经正确安装了gcc编译器比如你可以在[这里](https://jmeubank.github.io/tdm-gcc/)找到一个TDM版本的gcc编译器。
🚀 完成! 你的项目现在已经运行起来了。
## Docker
See: https://hub.docker.com/r/gosonic/sonic

Loading…
Cancel
Save