Browse Source

Update README.md

pull/79/head
cKey 5 years ago
parent
commit
22b038493b
  1. 8
      README.en.md
  2. 8
      README.md

8
README.en.md

@ -233,6 +233,12 @@ VUE_APP_CLIENT_SECRET = '1q2w3e*'
``` ```
### Initializes appsettings.json
In directory **./aspnet-core/configuration** ,Copy the given settings file to your own project directory (only if you are cloning the repository for the first time)
Make sure the configuration file is the same as the connection configuration of your development environment middleware, such as RabbitMQ, MySql, Redis, and so on
### EntityFramework migration ### EntityFramework migration
Please switch to the service project startup directory and execute the **dotnet EF ** command for database migration Please switch to the service project startup directory and execute the **dotnet EF ** command for database migration
@ -247,6 +253,8 @@ dotnet ef database update
``` ```
- You can also use quick migration script files: **./build/build-aspnetcore-ef-update.ps1**
### Initializes the apigateway database ### Initializes the apigateway database

8
README.md

@ -242,6 +242,12 @@ VUE_APP_CLIENT_SECRET = '1q2w3e*'
``` ```
### 初始化 appsettings.json
当前所有启动项目配置存储在 **./aspnet-core/configuration** 目录,请按照给定的项目名称复制到自己的项目目录(仅在您第一次克隆此仓库是这样做)
确保配置文件与您的开发环境中间件的连接配置相同,例如RabbitMQ、MySql、Redis等
### EntityFramework 迁移 ### EntityFramework 迁移
请切换到服务项目启动目录, 执行 **dotnet ef** 命令进行数据库迁移 请切换到服务项目启动目录, 执行 **dotnet ef** 命令进行数据库迁移
@ -255,6 +261,8 @@ dotnet ef database update
``` ```
- 也可以使用快速迁移脚本文件: **./build/build-aspnetcore-ef-update.ps1**
### 初始化网关数据库 ### 初始化网关数据库

Loading…
Cancel
Save