update .gitignore, add appsettings templates

This commit is contained in:
Collin M. Barrett 2017-12-05 18:58:51 -06:00
parent f43e0b6b79
commit ad56105055
3 changed files with 65 additions and 7 deletions

27
.gitignore vendored
View file

@ -24,11 +24,14 @@ bld/
[Oo]bj/
[Ll]og/
# Visual Studio 2015 cache/options directory
# Visual Studio 2015/2017 cache/options directory
.vs/
# Uncomment if you have tasks that create the project's static files in wwwroot
#wwwroot/
# Visual Studio 2017 auto generated files
Generated\ Files/
# MSTest test Results
[Tt]est[Rr]esult*/
[Bb]uild[Ll]og.*
@ -51,6 +54,10 @@ project.fragment.lock.json
artifacts/
**/Properties/launchSettings.json
# StyleCop
StyleCopReport.xml
# Files built by Visual Studio
*_i.c
*_p.c
*_i.h
@ -171,11 +178,11 @@ PublishScripts/
# NuGet Packages
*.nupkg
# The packages folder can be ignored because of Package Restore
**/packages/*
**/[Pp]ackages/*
# except build/, which is used as an MSBuild target.
!**/packages/build/
!**/[Pp]ackages/build/
# Uncomment if necessary however generally it will be regenerated when needed
#!**/packages/repositories.config
#!**/[Pp]ackages/repositories.config
# NuGet v3's project.json files produces more ignorable files
*.nuget.props
*.nuget.targets
@ -247,7 +254,7 @@ FakesAssemblies/
.ntvs_analysis.dat
node_modules/
# Typescript v1 declaration files
# TypeScript v1 declaration files
typings/
# Visual Studio 6 build log
@ -304,7 +311,13 @@ __pycache__/
# OpenCover UI analysis results
OpenCover/
# Azure Stream Analytics local run output
ASALocalRun/
# FilterLists Custom Ignores
gs/Private.gs
appsettings.json
src/FilterLists.Web/wwwroot/dist
src/FilterLists.Api/appsettings.development.json
src/FilterLists.Api/appsettings.production.json
src/FilterLists.Web/wwwroot/dist
src/FilterLists.Web/appsettings.development.json
src/FilterLists.Web/appsettings.production.json

View file

@ -0,0 +1,22 @@
/*
WARNING - This file will be checked into source control. Do not change this file.
Use this as an example file only.
Use {env.EnvironmentName}.json as your configuration file as it will not be checked into source control.
{env.EnvironmentName} values : development, staging, production
*/
{
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
},
"ConnectionStrings": {
"FilterListsConnection": "FilterListsConnectionValue"
},
"ApplicationInsights": {
"InstrumentationKey": "InstrumentationKeyValue"
}
}

View file

@ -0,0 +1,23 @@
/*
WARNING - This file will be checked into source control. Do not change this file.
Use this as an example file only.
Use {env.EnvironmentName}.json as your configuration file as it will not be checked into source control.
{env.EnvironmentName} values : development, staging, production
*/
{
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Debug",
"System": "Information",
"Microsoft": "Information"
}
},
"ApplicationInsights": {
"InstrumentationKey": "InstrumentationKeyValue"
},
"FilterListsApi": {
"Url": "https://api.filterlists.com/",
"Version": 1
}
}