mirror of
https://github.com/anjoy8/Blog.Core.git
synced 2025-02-08 02:39:26 +08:00
Created Installation Guide (markdown)
parent
3b605e280e
commit
40c0ace384
37
Installation-Guide.md
Normal file
37
Installation-Guide.md
Normal file
|
@ -0,0 +1,37 @@
|
|||
|
||||
|
||||
|
||||
### 初始项目
|
||||
|
||||
![操作流程](https://github.com/anjoy8/Blog.Core/blob/master/Blog.Core/wwwroot/operateFlow.gif)
|
||||
|
||||
|
||||
*********************************************************
|
||||
### 修改数据库连接字符串
|
||||
|
||||
注意:修改完数据库连接字符串以后,一定要F6重新编译项目或者重启项目。
|
||||
|
||||
1、在Blog.Core层 appsettings.json 中,配置自己的字符串
|
||||
```
|
||||
"Sqlite": {
|
||||
"Enabled": false,
|
||||
"SqliteConnection": "Data Source=WMBlog.db"
|
||||
},
|
||||
"SqlServer": {
|
||||
"Enabled": false,
|
||||
"SqlServerConnection": "Server=.;Database=WMBlogDB;User ID=sa;Password=123;",
|
||||
"ProviderName": "System.Data.SqlClient"
|
||||
},
|
||||
"MySql": {
|
||||
"Enabled": true,
|
||||
"MySqlConnection": "Server=localhost; Port=3306;Stmt=; Database=wmblogdb; Uid=root; Pwd=456;"
|
||||
},
|
||||
"Oracle": {
|
||||
"Enabled": false,
|
||||
"OracleConnection": "Provider=OraOLEDB.Oracle; Data Source=WMBlogDB; User Id=sss; Password=789;",
|
||||
"OracleConnection_other1": "User ID=sss;Password=789;Data Source=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.8.65)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME = orcl)))"
|
||||
},
|
||||
"Date": "2018-08-28",
|
||||
"SeedDBEnabled": false,
|
||||
"Author": "Blog.Core"
|
||||
```
|
Loading…
Reference in New Issue
Block a user