Execute the shell script bin/run-web.sh to start the node.js http server.
Double-click the file run-web.sh in the explorer. A new window will popup.
Open the terminal. Change into the bin directoy and run "sh run-web.sh".
There can be multiple apps in the same Ui5Strap project. Specify the path to the configuration of the desired app as get parameter "app". The path should be relative to the index.html file. Ui5Strap will load the default app if no "app" parameter is given.
Open the url http://127.0.0.1:8282/?app=apps/helloworld/app.json with your web browser.
Open the file www/index.html and scroll down to the main script initialization (around line 220).
In the viewer configuration, change the value of the property "defaultValue":
... app : { type : "URI", uriParam : "app", defaultValue : "./apps/helloworld/app.json" } ...
Or if you want to disable the app parameter and always load the same app:
... app : "./apps/helloworld/app.json" ...
© 2013 - 2023 PKSoftware.de