background colors
This commit is contained in:
parent
4192c7cbf9
commit
f055ac45df
4 changed files with 14656 additions and 26 deletions
101
src/Yavsc.Org/appsettings-org-template.json
Normal file
101
src/Yavsc.Org/appsettings-org-template.json
Normal file
|
|
@ -0,0 +1,101 @@
|
||||||
|
{
|
||||||
|
"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": [
|
||||||
|
"*"
|
||||||
|
],
|
||||||
|
"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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
@ -83,19 +83,5 @@
|
||||||
"Moderation": {
|
"Moderation": {
|
||||||
"AutoApproveThreshold": 0.7,
|
"AutoApproveThreshold": 0.7,
|
||||||
"AutoRejectThreshold": 0.9
|
"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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
14548
src/Yavsc.Org/wwwroot/lib/bootstrap.quartz.css
vendored
Normal file
14548
src/Yavsc.Org/wwwroot/lib/bootstrap.quartz.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue