X-Git-Url: https://gerrit.onap.org/r/gitweb?p=dmaap%2Fbuscontroller.git;a=blobdiff_plain;f=docs%2FInstallation%2FInstallation.rst;h=3a8e73283c2c1def7f860ccf4c0a5c28a9f15302;hp=6484459466cf9fb4304e366eddeffa6e65666193;hb=e892cafe99fb35de620fdb0a35ef187f7b40cc04;hpb=3ae6d6484dbd735b6db373fab8da47306b61392b diff --git a/docs/Installation/Installation.rst b/docs/Installation/Installation.rst index 6484459..3a8e732 100644 --- a/docs/Installation/Installation.rst +++ b/docs/Installation/Installation.rst @@ -32,7 +32,7 @@ However, if some customization is desired, there are places to change behavior: Steps for local development and test ------------------------- +------------------------------------ On Intel dev machine, in terminal (> indicates prompt) : 1) Build buscontroller images > git clone https://gerrit.onap.org/r/dmaap/buscontroller @@ -40,12 +40,12 @@ On Intel dev machine, in terminal (> indicates prompt) : > cd buscontroller > mvn clean install -Pdocker - builds dmaap-bc and dbc-client images -2) Run tests +2) Run tests > cd dmaap-bc/src/main/resources/ > cp docker-databus-controller.conf /var/tmp/ - set docker preferences/file sharing to access /var/tmp - edit docker-compose.yml - - remove "nexus3.onap.org:10001/" from dmaap-bc:image: and dbc-client:image: to + - remove "nexus3.onap.org:10001/" from dmaap-bc:image: and dbc-client:image: to use local images > docker-compose up -d - create sample.txt file (as above)(content of file not important) @@ -58,12 +58,12 @@ On Arm: > cd buscontroller > mvn clean install -Pdocker -Ddocker.pull.registry=docker.io - ensure we pull Arm version of base image -2) Run tests +2) Run tests > cd dmaap-bc/src/main/resources/ > cp docker-databus-controller.conf /var/tmp/ - set docker preferences/file sharing to access /var/tmp - edit docker-compose.yml - - remove "nexus3.onap.org:10001/" from dmaap-bc:image: and dbc-client:image: to + - remove "nexus3.onap.org:10001/" from dmaap-bc:image: and dbc-client:image: to use local images - replace 'crunchydata/crunchy-postgres:centos7-10.4-2.0.0' with multi-platform 'postgres:9.6-alpine' normative image