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. Start the front end UI

    Code Block
    languagebash
    npm start --scripts-prepend-node-path
    If


    * 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",

  5. Once the UI starts at localhost:3000 it will ask for credentials: 
    Login: admin
    Password: password
    *  This is a windows issue so anything marked with ** is for Windows environment only.