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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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
Docs are here..
http://1999.smallpict.com/2016/03/30/howUpdatingWorks.html
Dave