Skip to content

avenueconsultants/SigOpsMetrics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

383 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SigOps Metrics

This is the source code for the new SigOps Metrics site (http://new.sigopsmetrics.com)

Appsettings configuration

1. Create appsettings.json file in SigOpsMetrics.API

2. Paste the following into the file

{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",
  "Origins": "",
  "EPPlus": {
    "ExcelPackage": {
      "LicenseContext": "NonCommercial"
    }
  },
  "AppConfig": {
    "AWSAccessKey": "",
    "AWSSecretKey": "",
    "AWSBucketName": "",
    "DataPullKey": "",
    "CorridorsKey": "",
    "CamerasKey": "",
    "SmtpUsername": "",
    "SmtpPassword": "",
    "DatabaseName": "" 
  },
  "ConnectionStrings": {
    "Reader": "",
    "Writer": ""
  }
}

3. Fill in the following sensitive information under AppConfig:

- AWSAccessKey: AWS Access key ID (ie. "AKIAIOSFODNN7EXAMPLE")
- AWSSecretKey: AWS Secret access key (ie. "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY")
- AWSBucketName: AWS bucket name (ie. "docexamplebucket1")
- DataPullKey: Self-generated key to protect DataPull endpoint
- CorridorsKey: Name of corridors .xlsx file stored in the AWS bucket (ie. example.xlsx) 
- CamerasKey: Name of cameras .xlsx file stored in the AWS bucket (ie. example.xlsx) 
- SmtpUsername: Username of email to send from (ie. example@gmail.com) *Currently only gmail is supported
- SmtpPassword: Password of email to send from
- DatabaseName: Name of sql database (ie. myDatabase)

4. Fill in the following sensitive information under ConnectionStrings:

- Reader: Connection string to reader instance SQL database (ie. "server=myServerReader;user=myUsername;password=myPassword;database=myDatabase")
- Writer: Connection string to writer instance SQL database (ie. "server=myServerWriter;user=myUsername;password=myPassword;database=myDatabase")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • TypeScript 41.7%
  • C# 37.0%
  • HTML 18.7%
  • CSS 1.6%
  • Other 1.0%