Name Last Update
..
WEB-INF Loading commit data...
_dev Loading commit data...
app Loading commit data...
data Loading commit data...
raw Loading commit data...
tests Loading commit data...
tp Loading commit data...
README.md Loading commit data...
bs-config.js Loading commit data...
dev_server.js Loading commit data...
error.html Loading commit data...
index.html Loading commit data...
login.html Loading commit data...
nav.html Loading commit data...
not-ready.html Loading commit data...
onos.js Loading commit data...
package.json Loading commit data...

ONOS UI

Development environment

To help with UI development we provide a dedicated environment that introduce an auto reload feature and allow you to change your javascript files without recompiling the application.

To get started:

  • Be sure to have Node Js installed
  • Enter web/gui/src/main/webapp/ folder
  • Run npm install to install required dependency
  • Run npm start to open start the development environment

In the console you should see something like:

Dev server is up and listening on http://localhost: 8182
[BS] Proxying: http://localhost:8181
[BS] Access URLs:
 ----------------------------------
       Local: http://localhost:3000
    External: http://10.1.8.46:3000
 ----------------------------------
          UI: http://localhost:3002
 UI External: http://10.1.8.46:3002
 ----------------------------------
[BS] Watching files...

To open ONOS visit the local URL (eg: http://localhost:3000) plus /onos/ui (eg: http://localhost:3000/onos/ui)