laucnh my Debug session
This commit is contained in:
parent
384f6bc300
commit
e1ce67a76e
3 changed files with 36 additions and 106 deletions
10
.vscode/launch.json
vendored
10
.vscode/launch.json
vendored
|
|
@ -43,9 +43,15 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Yavsc Org",
|
"name": "Yavsc Org",
|
||||||
"type": "dotnet",
|
"type": "coreclr",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"projectPath": "${workspaceFolder}/src/Yavsc.Org/Yavsc.Org.csproj",
|
"program": "${workspaceFolder}/src/Yavsc.Org/bin/Debug/net10.0/Yavsc.Org.dll",
|
||||||
|
"env": {
|
||||||
|
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||||
|
},
|
||||||
|
"cwd": "${workspaceFolder}/src/Yavsc.Org",
|
||||||
|
"preLaunchTask": "build-web-yavsc-org"
|
||||||
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Yavsc Blogs",
|
"name": "Yavsc Blogs",
|
||||||
|
|
|
||||||
28
.vscode/tasks.json
vendored
28
.vscode/tasks.json
vendored
|
|
@ -89,6 +89,34 @@
|
||||||
},
|
},
|
||||||
"isBackground": true
|
"isBackground": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"label": "build-web-yavsc-org",
|
||||||
|
"type": "process",
|
||||||
|
"problemMatcher": ["$msCompile"],
|
||||||
|
"command": "dotnet",
|
||||||
|
"args": ["build"],
|
||||||
|
"options": {
|
||||||
|
"cwd": "src/Yavsc.Org"
|
||||||
|
},
|
||||||
|
"group": {
|
||||||
|
"kind": "build"
|
||||||
|
},
|
||||||
|
"isBackground": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "build-web-yavsc-blogs",
|
||||||
|
"type": "process",
|
||||||
|
"problemMatcher": ["$msCompile"],
|
||||||
|
"command": "dotnet",
|
||||||
|
"args": ["build"],
|
||||||
|
"options": {
|
||||||
|
"cwd": "src/Yavsc.Blogs"
|
||||||
|
},
|
||||||
|
"group": {
|
||||||
|
"kind": "build"
|
||||||
|
},
|
||||||
|
"isBackground": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "dotnet: build-postit-desktop",
|
"label": "dotnet: build-postit-desktop",
|
||||||
"type": "process",
|
"type": "process",
|
||||||
|
|
|
||||||
|
|
@ -1,104 +0,0 @@
|
||||||
{
|
|
||||||
"Logging": {
|
|
||||||
"LogLevel": {
|
|
||||||
"Default": "Information",
|
|
||||||
"Microsoft.AspNetCore": "Warning",
|
|
||||||
"Microsoft.AspNetCore.SignalR": "Debug",
|
|
||||||
"Microsoft.AspNetCore.Http.Connections": "Debug"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"AllowedHosts": "*",
|
|
||||||
"ConnectionStrings": {
|
|
||||||
"YavscConnection": "*** via dotnet user-secrets ou variable d'environnement *** Server=[YOURSERVERNAME];Port=5432;Database=[YOURDBNAME];Username=[YOURDBUSERNAME];Password=[YOURDBPASSW];"
|
|
||||||
},
|
|
||||||
"Site": {
|
|
||||||
"Title": "yavsc",
|
|
||||||
"Slogan": "Yavsc!",
|
|
||||||
"StyleSheet": "/css/default.css",
|
|
||||||
"Authority": "https://[Your domaine name]",
|
|
||||||
"ExternalUrl": "https://[Your domaine name]",
|
|
||||||
"CorsAllowedOrigins": [
|
|
||||||
"https://your.api.url.com/api/v1",
|
|
||||||
"https://localhost:5003/api/v1",
|
|
||||||
"https://localhost:5005/api/v1"
|
|
||||||
],
|
|
||||||
"Audience": [ "api", "blogs"],
|
|
||||||
"Banner": "/images/banner-dewang.jpg",
|
|
||||||
"Owner": {
|
|
||||||
"Name": "[Site owner's name]",
|
|
||||||
"EMail": "[Site owner's e-mail address]"
|
|
||||||
},
|
|
||||||
"Admin": {
|
|
||||||
"Name": "[a name for a site admin]",
|
|
||||||
"EMail": "[an e-mail for a site admin]"
|
|
||||||
},
|
|
||||||
"Avatars": "avatars",
|
|
||||||
"Quota": 200000000,
|
|
||||||
"Bills": "bills",
|
|
||||||
"Blog": "blog",
|
|
||||||
"TempDir": "temp",
|
|
||||||
"DataDir": "data"
|
|
||||||
},
|
|
||||||
"Smtp": {
|
|
||||||
"Host": "[YOURSMTPHOST]",
|
|
||||||
"Port": 465,
|
|
||||||
"Username": "[YOURSMTPUSERNAME]",
|
|
||||||
"Password": "[YOURSMTPPASSWORD]"
|
|
||||||
},
|
|
||||||
"DataProtection": {
|
|
||||||
"Keys": {
|
|
||||||
"Dir": "DataProtection"
|
|
||||||
},
|
|
||||||
"RSAParamFile": "RSA-Params.json",
|
|
||||||
"ExpiresInHours": 168
|
|
||||||
},
|
|
||||||
"Authentication": {
|
|
||||||
"PayPal": {
|
|
||||||
"Mode": "[sandbox|production]",
|
|
||||||
"ClientId": "[Your PayPal REST API ClientId]",
|
|
||||||
"Secret": "[Your PayPal REST API Secret]"
|
|
||||||
},
|
|
||||||
"Google": {
|
|
||||||
"ApiKey": "[Your ApiKey]",
|
|
||||||
"ClientId": "[Your ClientId]",
|
|
||||||
"ClientSecret": "[Your ClientSecret]",
|
|
||||||
"ServiceAccount": {
|
|
||||||
"project_id": "[Yours]",
|
|
||||||
"private_key_id": "[Yours]",
|
|
||||||
"private_key": "-----[Yours]---\n",
|
|
||||||
"client_email": "[Yours]@appspot.gserviceaccount.com",
|
|
||||||
"client_id": "[Yours]",
|
|
||||||
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
|
|
||||||
"token_uri": "https://accounts.google.com/o/oauth2/token",
|
|
||||||
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
|
|
||||||
"client_x509_cert_url": "https://www41.googleapis.com/robot/v1/[Yours].com"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Facebook": {
|
|
||||||
"ClientId": "[Your ClientId]",
|
|
||||||
"ClientSecret": "[Your ClientSecret]"
|
|
||||||
},
|
|
||||||
"Twitter": {
|
|
||||||
"ClientId": "[Your ClientId]",
|
|
||||||
"ClientSecret": "[Your ClientSecret]"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"Moderation": {
|
|
||||||
"AutoApproveThreshold": 0.7,
|
|
||||||
"AutoRejectThreshold": 0.9
|
|
||||||
},
|
|
||||||
"Kestrel": {
|
|
||||||
"Endpoints": {
|
|
||||||
"Http": {
|
|
||||||
"Url": "http://localhost:82"
|
|
||||||
},
|
|
||||||
"Https": {
|
|
||||||
"Url": "https://localhost:83",
|
|
||||||
"Certificate": {
|
|
||||||
"Path": "/etc/letsencrypt/live/[Your domaine name]/cert.pem",
|
|
||||||
"KeyPath": "/etc/letsencrypt/live/[Your domaine name]/privkey.pem"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue