X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?p=it%2Fotf.git;a=blobdiff_plain;f=otf-installation.txt;fp=otf-installation.txt;h=0e4e87fd95836128c79b81ddb4c7bcf7d483b6cb;hp=f40437b72e30ffea2f970aa403802e42cf486256;hb=21c549fb35244f9078cf824908c7c312f2e89f06;hpb=7723a03d56c434459a639e7c85b9225892127640 diff --git a/otf-installation.txt b/otf-installation.txt index f40437b..0e4e87f 100644 --- a/otf-installation.txt +++ b/otf-installation.txt @@ -32,21 +32,18 @@ otf-robot-test-head otf-frontend - + docker build -t otf-frontend:0.0.1-SNAPSHOT . + docker run -d --network="host" otf-frontend:0.0.1-SNAPSHOT otf-service-api Modify src/main/resources/application.properties according to needs (disable aaf/ssl, set ports) - Add settings.xml from onap website and add profile to use maven default repository and add settings.xml to ~/.m2/ if missing - mvn clean install (add flag -DskipTests if it causes the build to fail) - navigate to target folder and run "docker build -t otf-service-api:0.0.1-SNAPSHOT ." + navigate to otf-service-api folder and run "docker build -t otf-service-api:0.0.1-SNAPSHOT -f docker/Dockerfile ." (maven will run from inside the container, command is inside the Dockerfile) docker run -d --network="host" otf-service-api:0.0.1-SNAPSHOT otf-camunda Modify src/main/resources/application.yaml according to needs, and validate the yaml is correct format (disable aaf/ssl, set ports) - Add settings.xml from onap website and add profile to use maven default repository and add settings.xml to ~/.m2/ if missing - mvn clean install (add flag -DskipTests if it causes the build to fail) - navigate to target folder and run "docker build -t otf-camunda:0.0.1-SNAPSHOT ." + navigate to otf-camunda folder and run "docker build -t otf-camunda:0.0.1-SNAPSHOT -f docker/Dockerfile ." (maven will run from inside the container, command is inside the Dockerfile) docker run -d --network="host" otf-camunda:0.0.1-SNAPSHOT Database Notes