Browse Source

Merge pull request #42 from colinin/3.0

update README.md
pull/81/head
cKey 5 years ago
committed by GitHub
parent
commit
00e762579d
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      README.en.md
  2. 17
      README.md

20
README.en.md

@ -227,13 +227,27 @@ VUE_APP_CLIENT_SECRET = '1q2w3e*'
``` ```
### Initializes the api gateway database ### EntityFramework migration
Please switch to the service project startup directory and execute the **dotnet EF ** command for database migration
example:
``` shell ``` shell
cd aspnet-core/database
cd aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host
dotnet ef database update
``` ```
Please use a tool such as **Navicat** to execute **apigateway-init.sql**
### Initializes the apigateway database
In the **2020-08-05 16:25:00** submission, the **apigateway-init.SQL** file has been read and written to the **DataSeeder** type. Starting the gateway management project will automatically initialize the gateway data.
Make sure the **aspnet-core/Database/apigateway-init.sql** file exists
### Configure the RabbitMQ ### Configure the RabbitMQ

17
README.md

@ -234,13 +234,24 @@ VUE_APP_CLIENT_SECRET = '1q2w3e*'
``` ```
### 初始化网关数据库 ### EntityFramework 迁移
请切换到服务项目启动目录, 执行 **dotnet ef** 命令进行数据库迁移
例如:
``` shell ``` shell
cd aspnet-core/database
cd aspnet-core/services/admin/LINGYUN.BackendAdminApp.Host
dotnet ef database update
``` ```
请使用诸如**Navicat**工具执行**ApiGateway-Init.sql**
### 初始化网关数据库
**2020-08-05 16:25:00** 的提交中, 已经将**apigateway-init.sql**文件内容读取并写入**DataSeeder**类型, 启动网关管理项目会自动初始化网关数据,
请确保**aspnet-core/database/apigateway-init.sql**文件存在
### 配置RabbitMQ ### 配置RabbitMQ

Loading…
Cancel
Save