Versions Compared

Key

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

...

Ensure you have OpenJDK 8 , and maven on your machine.on your machine.

Ensure you have maven installed on your machine, and configured for ONAP. To build you will need to ensure you update your settings with the ONAP settings.xml (Workspace and Development Tools)

NOTE: If you are having trouble with some of the apt-get installation packages, enter the name of the vm alongside localhost in the line for 127.0.0.1 in /etc/hosts. Some of the apt-get installation may require this.

...

  • Make a directory for MUSIC logs. The logs will be placed here after MUSIC starts

    Code Block
    languagebash
    themeMidnight
    titlemusic.properties
    mkdir /opt/app/music/logs
    Build the MUSIC.war and place in tomcat webapps dir.
  • Download MUSIC from the Music Gerrit into your music folder (/opt/app/music/)

    Code Block
    languagebash
    themeMidnight
    cd /opt/app/music/
    git clone https://gerrit.onap.org/r/music
  • Build music using maven

    Code Block
    languagebash
    themeMidnight
    cd music
    # If you installed settings.xml in your ./m2 folder
    mvn clean package
    
  • If the build is successful, you will find the MUSIC.war in the ./target folder. Copy this to your tomcat's webapp folder

    Code Block
    languagebash
    themeMidnight
    cp target/MUSIC.WAR $TOMCAT_HOME/webapps
    
  • Start tomcat and you should now have MUSIC running.

  • There is a folder called postman that contains a postman collection for testing with postman.


...