Skip to content

Instantly share code, notes, and snippets.

@scripting
Last active March 30, 2016 16:03
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
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