Skip to content

Commit a06e1bf

Browse files
committed
update README
1 parent bfea371 commit a06e1bf

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

README.md

Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1479,4 +1479,47 @@ public class AbpTreesDemoApplicationAutoMapperProfile : Profile
14791479

14801480

14811481

1482-
1482+
## Run
1483+
1484+
1. Set as Startup Project:`IczpNet.AbpTreesDemo.HttpApi.Host`
1485+
1486+
2. ConnectionStrings:`appsettings.json`
1487+
1488+
```json
1489+
{
1490+
"App": {
1491+
"CorsOrigins": "https://*.AbpTreesDemo.com,http://localhost:4200,http://localhost:44307,https://localhost:44307"
1492+
},
1493+
"ConnectionStrings": {
1494+
"Default": "Server=localhost;Initial Catalog=AbpTreesDemo_Main;User ID=sa;Password=123",
1495+
"AbpTreesDemo": "Server=localhost;Initial Catalog=AbpTreesDemo_Module;User ID=sa;Password=123"
1496+
},
1497+
"Redis": {
1498+
"Configuration": "127.0.0.1"
1499+
},
1500+
"AuthServer": {
1501+
"Authority": "https://localhost:44362/",
1502+
"RequireHttpsMetadata": "false",
1503+
"SwaggerClientId": "AbpTreesDemo_Swagger",
1504+
"SwaggerClientSecret": "1q2w3e*"
1505+
}
1506+
}
1507+
1508+
```
1509+
1510+
1511+
1512+
3. Set PM(Package Management Console) default Project:`IczpNet.AbpTreesDemo.HttpApi.Host`
1513+
1514+
4. add-migration and update database
1515+
1516+
```
1517+
PM> Add-Migration Department_Init
1518+
```
1519+
1520+
```
1521+
PM> Update-Database
1522+
```
1523+
1524+
1525+

0 commit comments

Comments
 (0)