Use npm to install requred modules:
npm install
Run:
node index
Then, in your code, you should specify the host and port.
index.html
StiOptions.WebServer.url = "http://localhost:9615";
In the app.js file, you can change all parameters passed from the JS client-side.
A sample shows how to run an adapter.