update docs

This commit is contained in:
xuecong 2021-12-04 07:05:13 +08:00
parent 2605c30447
commit 62b5296d8a
2 changed files with 13 additions and 14 deletions

View File

@ -1,12 +0,0 @@
## windows 下开发常见问题
### server目录下执行`npm run dev`报错
> 这个问题是因为windows下没有export命令导致的按照如下方法解决
安装依赖
```
npm install -g ts-node typescript cross-env
```
修改 `server/package.json`中的`scripts.dev`为`cross-env NODE_ENV=development nodemon -e ts --exec 'ts-node' src/app.ts`

View File

@ -2,8 +2,6 @@
> 开发测试环境可以不配置redis生产环境必须配置redis。
[windows下开发可能遇到的问题](readme/windows.MD)
### 创建配置文件
- 开发环境请在`ejyy/server`目录下创建 `.ejyyrc`文件
@ -169,3 +167,16 @@ location / {
proxy_pass http://localhost:6688;
}
```
### windows 下开发常见问题
#### server目录下执行`npm run dev`报错
> 这个问题是因为windows下没有export命令导致的按照如下方法解决
安装依赖
```
npm install -g ts-node typescript cross-env
```
修改 `server/package.json`中的`scripts.dev`为`cross-env NODE_ENV=development nodemon -e ts --exec 'ts-node' src/app.ts`