Skip to content

Commit

Permalink
Switched to YAML config file
Browse files Browse the repository at this point in the history
  • Loading branch information
mountaindude committed May 9, 2018
1 parent e598b59 commit 9a1d53e
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 35 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,5 +1,6 @@
# Do not store config file in git
default.json
default.yaml

# Logs
log
Expand Down
35 changes: 0 additions & 35 deletions config/default_config.json

This file was deleted.

32 changes: 32 additions & 0 deletions config/default_config.yaml
@@ -0,0 +1,32 @@
# Rename this file to default.yaml, and fill in data as needed below.

# Possible log levels are silly, debug, verbose, info, warn, error
defaultLogLevel: info

# Paths to client certificates to use when connecting to Sense server. Can be pem or pvk/cer
clientCertPath: /path/to/client/cert/client.pem
clientCertKeyPath: /path/to/client/cert/client_key.pem

# Paths to ssl certificate and key used to secure the communication to the duplicate server. Can be pem or pvk/cer
sslCertPath: /path/to/ssl/cert/client.cer
sslCertKeyPath: /path/to/ssl/cert/client_key.pvk

# URL where newly created apps' load scripts are retrieved from. Change to something more relevant than the sample code..
loadScriptURL: https://raw.githubusercontent.com/mountaindude/testdata/master/test-load-script-1.qvs

# Sense server we should connect to
host: yourhost.company.com

# Is connection to Sense engine secure (https)?
isSecure: true

# Newly created apps will be assigned to specific users. Next config option specifies what user directory this user belongs to.
# For example, if your Sense users full id looks like MYCOMPANY/username, MYCOMPANY would be listed below.
senseUserDirectory: MYCOMPANY

# Directory where log files are stored (no trailing / )
logDirectory: /path/to/log/directory

# Reload app after it has been created (true/false)
reloadNewApp: false

27 changes: 27 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -11,6 +11,7 @@
"dependencies": {
"config": "^1.24.0",
"enigma.js": "^2.2.1",
"js-yaml": "^3.11.0",
"json-query": "^2.2.0",
"qrs-interact": "^3.0.0",
"request": "^2.79.0",
Expand Down

0 comments on commit 9a1d53e

Please sign in to comment.