Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: change to bazel run local

...

To run ONOS locally on the development machine, simply run the following command:

Code Block
languagebash
cd $ONOS_ROOT/tools/build/onos-buck
bazel run onos-local -- clean debug 

The above command will create local installation from the onos.tar.gz file and will start it in the background. In the foreground, it will display a continuous view of the ONOS (Apache Karaf) log file. Options following the double-dash (–) are passed through to the ONOS Apache Karaf and can be omitted. Here, the clean option forces a clean installation of ONOS and the debug option means that the default debug port 5005 will be available for attaching a remote debugger.

...

or alternatively visit http://localhost:8181/onos/ui