Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Checkout UI from the repo.

    Code Block
    languagebash
    git clone "https://gerrit.nordix.org/onap/policy/gui"


  2. Change into the "gui-clamp" directory.

  3. Build the UI

    Code Block
    languagebash
    mvn clean install


  4. Go to the following directory 'ui-react'

  5. Start the front end UI


  6. Code Block
    languagebash
    npm start --scripts-prepend-node-path


    * If you get an error such as 'npm ERR! code ENOENT' modify the package.json "start": "HTTPS=true react-scripts start" to "start": "set HTTPS=true && react-scripts start",

  7. Once the UI starts at localhost:3000 it will ask for credentials: 
    Login: admin
    Password: password