From 22b038493b1fe533607d8fbf8bcbd4e0d2fe6234 Mon Sep 17 00:00:00 2001 From: cKey <35512826+colinin@users.noreply.github.com> Date: Sat, 12 Sep 2020 19:22:20 +0800 Subject: [PATCH] Update README.md --- README.en.md | 8 ++++++++ README.md | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/README.en.md b/README.en.md index fc2b8b3ae..babd72814 100644 --- a/README.en.md +++ b/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 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 diff --git a/README.md b/README.md index 480a69186..8cc2e80dd 100644 --- a/README.md +++ b/README.md @@ -242,6 +242,12 @@ VUE_APP_CLIENT_SECRET = '1q2w3e*' ``` +### 初始化 appsettings.json + +当前所有启动项目配置存储在 **./aspnet-core/configuration** 目录,请按照给定的项目名称复制到自己的项目目录(仅在您第一次克隆此仓库是这样做) + +确保配置文件与您的开发环境中间件的连接配置相同,例如RabbitMQ、MySql、Redis等 + ### EntityFramework 迁移 请切换到服务项目启动目录, 执行 **dotnet ef** 命令进行数据库迁移 @@ -255,6 +261,8 @@ dotnet ef database update ``` +- 也可以使用快速迁移脚本文件: **./build/build-aspnetcore-ef-update.ps1** + ### 初始化网关数据库