From ed8027f690fc99602b48409f4b1c7d20083db473 Mon Sep 17 00:00:00 2001 From: Gary Ritchie Date: Fri, 7 Oct 2016 07:06:53 -0400 Subject: [PATCH] Just a bit more clarification, but test unsuccessful. --- README.md | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 9a1905a..babc74c 100644 --- a/README.md +++ b/README.md @@ -56,17 +56,16 @@ docker volume rm dockeradaptauthoring_adaptdata [database and course content] -Getting Started - docker run +Getting Started - Using `docker run ...` --------------------------------- -Setup ------------ +### Setup -### Volumes +#### Volumes `docker volume create --name adaptdata` -### Services +#### Services `docker run -d --name adaptdb -v adaptdb:/data/db mongo` @@ -93,8 +92,15 @@ Upgrade the AuthoringTool and or Framework: docker run -it --rm -P --link adaptdb --name adaptauthoring -v adaptdata:/adapt_authoring garyritchie/docker-adaptauthoring bash -c 'node upgrade --Y/n Y' ``` -Run -------- +After a bit you should see: + +`Great work! Your Adapt authoring tool is now updated.` + +At this point the "adaptauthoring" container has been run twice to configure and update the Adapt Authoring tool. Each time the _container_ was destroyed -- the data is retained within the docker volume created in an earlier step. + +### Run + +Once the "Setup" steps are complete, do: ```bash docker run -d -p 5000:5000 --link adaptdb --name adaptauthoring garyritchie/docker-adaptauthoring bash -c 'pm2 start --no-daemon processes.json'