added updated dockerfiles and ric workflow
[it/otf.git] / otf-installation.txt
index f40437b..0e4e87f 100644 (file)
@@ -32,21 +32,18 @@ otf-robot-test-head
 \r
 \r
 otf-frontend\r
-   \r
+   docker build -t otf-frontend:0.0.1-SNAPSHOT .\r
+   docker run -d --network="host" otf-frontend:0.0.1-SNAPSHOT\r
 \r
 otf-service-api\r
   Modify src/main/resources/application.properties according to needs (disable aaf/ssl, set ports)\r
-  Add settings.xml from onap website and add profile to use maven default repository and add settings.xml to ~/.m2/ if missing\r
-  mvn clean install (add flag -DskipTests if it causes the build to fail)\r
-  navigate to target folder and run "docker build -t otf-service-api:0.0.1-SNAPSHOT ."\r
+  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) \r
   docker run -d --network="host" otf-service-api:0.0.1-SNAPSHOT\r
 \r
 \r
 otf-camunda\r
   Modify src/main/resources/application.yaml according to needs, and validate the yaml is correct format (disable aaf/ssl, set ports)\r
-  Add settings.xml from onap website and add profile to use maven default repository and add settings.xml to ~/.m2/ if missing\r
-  mvn clean install (add flag -DskipTests if it causes the build to fail)\r
-  navigate to target folder and run "docker build -t otf-camunda:0.0.1-SNAPSHOT ."\r
+  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)\r
   docker run -d --network="host" otf-camunda:0.0.1-SNAPSHOT\r
 \r
 Database Notes\r