From b062336c093b5a9931fd2150109c627a7d7bc874 Mon Sep 17 00:00:00 2001 From: liwei Date: Tue, 7 Feb 2023 23:30:26 +0800 Subject: [PATCH] docs: update CONTRIBUTING.md --- CONTRIBUTING.md | 2 +- CONTRIBUTING_zh-CN.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index c3062bf5..dd283bd1 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -8,7 +8,7 @@ This project only has one main branch, namely the `main` branch. If you want to ## Local development -It is recommended to develop and debug through the web. First, start the backend service, the code is located in `cmd/api/main.go`, the default port of the service is `9999`, and then start the front-end project in `debug` mode to run. +It is recommended to develop and debug through the web. First, start the backend service, and start it by the command line `go run cmd/api/main.go`, the default port of the service is `9999`, and then start the front-end flutter project in `debug` mode to run. ## Translation diff --git a/CONTRIBUTING_zh-CN.md b/CONTRIBUTING_zh-CN.md index df032f2e..7b01fb20 100644 --- a/CONTRIBUTING_zh-CN.md +++ b/CONTRIBUTING_zh-CN.md @@ -8,7 +8,7 @@ ## 本地开发 -建议通过 web 端进行开发调试,首先启动后端服务,代码位于 `cmd/api/main.go` ,服务启动默认端口为 `9999`,然后以 `debug` 模式启动前端项目即可运行。 +建议通过 web 端进行开发调试,首先启动后端服务,通过命令行 `go run cmd/api/main.go` 启动 ,服务启动默认端口为 `9999`,然后以 `debug` 模式启动前端 flutter 项目即可运行。 ## 翻译