-
Notifications
You must be signed in to change notification settings - Fork 18
Launcher v7
- status: complete
- version: 7.x
The node launcher script comes in with a number of options as listed here:
$ node launcher.js --help
Usage: launcher [options]
Options:
-V, --version output the version number
## Path to a conf file, other inline options are ignored.
-C, --config [confFile] Specifies a configuration file to load
## Inline options (more limited than a conf file).
-c, --confDir <confDir> Sets the configuration directory
-l, --logDir <logDir> Sets the log directory
-L, --logLevel <logDir> Sets the log level. Values: error(default)|warn|info|silly
-g, --gamesDir <gamesDir> Sets the games directory
-d, --debug Enables the debug mode
-i, --infoQuery Enables getting information via query-string ?q=
-b, --build [components] Rebuilds the specified components
-s, --ssl [path-to-ssl-dir] Starts the server with SSL encryption
-f, --default [channel] Sets the default channel
-P, --port [port] Sets the port of the server
Makes the game available on port 8081 (http://localhost:8081/mygame/
);
node launcher -P 8081
- Rebuild the specified modules before launching the server
node launcher -b window,widgets
Notice: no need to specify the module 'client' because it is always automatically rebuilt.
Go back to the wiki Home.
Copyright (C) 2021 Stefano Balietti
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.