Skip to content

Commit f47094b

Browse files
authored
docs(): update README.md
1 parent 14f7a8e commit f47094b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Diff for: README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,19 @@
1414

1515
## 如何上手
1616

17-
调查问卷项目包括前端 frontend 目录以及后端 backend 目录。我们可以先运行后端服务,方便前端的注册与登录用户以及提供问卷相关的服务。安装过 Node.js 之后,在终端运行以下命令:
17+
调查问卷项目包括前端 frontend 目录以及后端 backend 目录。我们可以先运行后端服务,方便前端的注册与登录用户以及提供问卷相关的服务。安装过 Node.js 之后(确保你的 Node.js 版本为 6.x 及以上),在终端运行以下命令:
1818

1919
```bash
2020
cd backend
2121
npm install
22-
node app.js
22+
node app
2323
```
2424

2525
接下来,将终端目录定位 frontend 之中,再运行以下命令:
2626

2727
```bash
2828
npm install
29+
npm start
2930
```
3031

31-
接着使用 `npm start` 即可运行整个项目代码
32+
以上前后台的命令都执行完后,即成功启动整个项目应用

0 commit comments

Comments
 (0)