Methods
adminUIsSharedPath()
Folder containing content common to all admin UIs.
- Source:
generateSharedJS()
Generates "shared.js", to be used by all clients to connect to server.
- Create a copy of 'sharedTemplate.js'.
- Overwrite the serverURL variable with the IP + port of the current machine.
References:
http://stackoverflow.com/questions/3653065/get-local-ip-address-in-node-js
http://stackoverflow.com/questions/14177087/replace-a-string-in-a-file-with-nodejs
- Source: