Skip to content

Instantly share code, notes, and snippets.

@scripting
Last active March 30, 2016 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scripting/06137a624152a1bda3fa747c16bb8aa7 to your computer and use it in GitHub Desktop.
Save scripting/06137a624152a1bda3fa747c16bb8aa7 to your computer and use it in GitHub Desktop.
Example of a config.json file for nodeStorage that has an updates object and automatically restarts when there's a change to the main JavaScript file.
{
"myPort": 1999,
"websocketPort": 2000,
"myDomain": "1999.bullmancuso.io:1999",
"urlUserWhitelist": "http://1999.io/docs/examplewhitelist.json",
"flWatchAppDateChange": true,
"fnameApp": "storage.js",
"updates": {
"enabled": true,
"fnameStorageJs": "storage.js",
"ctMinutesBetwChecks": 60
},
"where": {
"flUseLocalFilesystem": true,
"publicPath": "publicFiles/",
"privatePath": "privateFiles/"
},
"twitterConsumerKey": "anm3unkb1mof7isav0bkxigby",
"twitterConsumerSecret": "niliunipnv4xpbhjpe4cedf7dby79hnrokfxhnkij2zpzyjero"
}
@scripting
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment