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" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
Docs are here..
http://1999.smallpict.com/2016/03/30/howUpdatingWorks.html
Dave