Skip to content

Instantly share code, notes, and snippets.

@scripting

scripting/config.json

Last active Mar 30, 2016
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

This comment has been minimized.

Copy link
Owner Author

@scripting scripting commented Mar 30, 2016

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