summaryrefslogtreecommitdiffstats
path: root/platformdoc/README.md
diff options
context:
space:
mode:
authorMichael Hwang <mhwang@research.att.com>2017-11-06 14:52:37 -0500
committerMichael Hwang <mhwang@research.att.com>2017-11-06 14:53:29 -0500
commit3d2b2aed3172d48325ed91ee6c1546c5172bac5e (patch)
treeec0ae314c46c33998b11ae7a1e4e48d0720425ee /platformdoc/README.md
parenta73548f4eb6ba4bdb2b2064c7e24a4b74b467f5a (diff)
Merge in accumulated changes
Change-Id: I3cd9da556c31efe879f0ff1eaf48f63e4fc353aa Issue-Id: DCAEGEN2-189 Signed-off-by: Michael Hwang <mhwang@research.att.com>
Diffstat (limited to 'platformdoc/README.md')
-rw-r--r--platformdoc/README.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/platformdoc/README.md b/platformdoc/README.md
index 917c087f..ea5739ab 100644
--- a/platformdoc/README.md
+++ b/platformdoc/README.md
@@ -20,6 +20,7 @@ This is a [Mkdocs](http://www.mkdocs.org/) project. To serve a local version of
```
2. Clone this repo
+
3. Run the following at the root of the cloned repo:
```
@@ -35,19 +36,18 @@ This is a [Mkdocs](http://www.mkdocs.org/) project. To serve a local version of
mkdocs build
```
-2. Build and push the Docker image - note the repository and group `YOUR_NEXUS_DOCKER_REGISTRY/onap` can be customized and replaced:
+2. Build the Docker image, tag as desired - eg `dcae-platform-documentation:YYYYMMDD`
```
- docker build -t YOUR_NEXUS_DOCKER_REGISTRY/onap/dcae-platform-documentation:latest .
- docker push YOUR_NEXUS_DOCKER_REGISTRY/onap/dcae-platform-documentation:latest
+ docker build -t dcae-platform-documentation:20171002 .
```
3. Run the Docker container:
```
export DOCKER_HOST=tcp://<target docker host>
- # REVIEW: Does this always pull latest?
- docker pull YOUR_NEXUS_DOCKER_REGISTRY/onap/dcae-platform-documentation:latest
- docker run -d --name dpd -p 80:80 YOUR_NEXUS_DOCKER_REGISTRY/onap/dcae-platform-documentation:latest
+ docker stop dpd
+ docker rm -f dpd
+ docker run -d --name dpd -p 80:80 dcae-platform-documentation:YYYYMMDD
```