From fcabc34978c36239052bedd206d6f66c46496628 Mon Sep 17 00:00:00 2001 From: TrafficLight6 <117509790+TrafficLight6@users.noreply.github.com> Date: Fri, 11 Sep 2026 19:32:51 +0800 Subject: [PATCH 1/3] Fix formatting in installation section of README Correct formatting and improve clarity in installation instructions. --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8bb8b08..19f2111 100644 --- a/README.md +++ b/README.md @@ -22,12 +22,12 @@ This project need a PostgreSQL database to store. ## 🛠️ Installation & Start **__Now it only can be install compiling.We plan to add a docker-compose file in the future.__** -- 📦 Install - 1. Clone the repository. - 2. Install PostgreSQL database and Node.js. - 3. Type `go mod tidy` in `./GoAccountHub` to install go dependencies. - 4. Type `npm install` in `./GoAccountHub/GAHFrontend` to install vue dependencies. - 5. Compile the Go project in `./GoAccountHub`.Type `go build` to compile the project. +- 📦 Install + 1. Clone the repository. + 2. Install PostgreSQL database and Node.js. + 3. Type `go mod tidy` in `./GoAccountHub` to install go dependencies. + 4. Type `npm install` in `./GoAccountHub/GAHFrontend` to install vue dependencies. + 5. Compile the Go project in `./GoAccountHub`.Type `go build` to compile the project. - ▶️ Start **__⚠️Attention: Before start the api server,you MUST to launch the Api server.And ALSO make sure there is `.env` file in the frontend root directory.Because when Api server start,it will change the `.env` file according to the config.__** From 9ab256987ad1080ec9a3d68d4793931d0172ef7c Mon Sep 17 00:00:00 2001 From: TrafficLight6 <117509790+TrafficLight6@users.noreply.github.com> Date: Fri, 11 Sep 2026 19:33:14 +0800 Subject: [PATCH 2/3] Improve formatting of installation instructions Reformat installation instructions for better readability. --- README_zh-cn.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README_zh-cn.md b/README_zh-cn.md index 8ad18b2..fb63b26 100644 --- a/README_zh-cn.md +++ b/README_zh-cn.md @@ -22,12 +22,12 @@ Go Account Hub(简称 GAH)是一个用 Go 语言编写的用户中心,可 ## 🛠️ 安装与启动 **目前只能通过编译安装。我们计划在未来添加 docker-compose 文件。** -- 📦 安装 - 1. 克隆本仓库。 - 2. 安装 PostgreSQL 数据库和 Node.js。 - 3. 在 `./GoAccountHub` 目录下执行 `go mod tidy` 以安装 Go 依赖。 - 4. 在 `./GoAccountHub/GAHFrontend` 目录下执行 `npm install` 以安装 Vue 依赖。 - 5. 在 `./GoAccountHub` 目录下编译 Go 项目,执行 `go build` 进行编译。 +- 📦 安装 + 1. 克隆本仓库。 + 2. 安装 PostgreSQL 数据库和 Node.js。 + 3. 在 `./GoAccountHub` 目录下执行 `go mod tidy` 以安装 Go 依赖。 + 4. 在 `./GoAccountHub/GAHFrontend` 目录下执行 `npm install` 以安装 Vue 依赖。 + 5. 在 `./GoAccountHub` 目录下编译 Go 项目,执行 `go build` 进行编译。 - ▶️ 启动 **⚠️注意:在启动 API 服务之前,你**必须**先启动 API 服务。同时请确保前端根目录下存在 `.env` 文件。因为 API 服务启动时会根据配置修改该 `.env` 文件。** From da9603177b50a71eda9c477369e0596ef66a9309 Mon Sep 17 00:00:00 2001 From: TrafficLight6 <117509790+TrafficLight6@users.noreply.github.com> Date: Sun, 13 Sep 2026 09:40:26 +0800 Subject: [PATCH 3/3] Update README with clearer API server instructions Correct formatting and clarify instructions for starting the API server in the README. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9590493..5f7499f 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ This project need a PostgreSQL database to store. 3. Type `go mod tidy` in `./GoAccountHub` to install go dependencies. 4. Type `npm install` in `./GoAccountHub/GAHFrontend` to install vue dependencies. 5. Compile the Go project in `./GoAccountHub`.Type `go build` to compile the project. -- ▶️ Start +- ▶️ Start **__⚠️Attention: Before start the api server,you MUST to launch the Api server.And ALSO make sure there is `.env` file in the frontend root directory.Because when Api server start,it will change the `.env` file according to the config.__** + 🖥️ Api Server