Versions Compared

Key

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

...

Code Block
languagebash
firstline1
titlebasic_packages
$ sudo apt-get update
$ sudo apt-get install -y openjdk-8-jdk docker docker-compose zip unzip curl wget ssh telnet maven
# make sure docker can be launched with normal user
$ sudo groupadd docker
$ sudo gpasswd -a $USER docker
$ newgrp docker


2- Download and build policy API and its docker image.

Code Block
languagebash
firstline6
titlePolicy API Docker Image Build
cd ~/

git clone https://gerrit.onap.org/r/oparent
mvn clean install

git clone https://gerrit.onap.org/r/policy/parent
mvn clean install

git clone https://gerrit.onap.org/r/policy/api
mvn clean install -Pdocker