From 1a892886acead77ef3513f47d0f624d78641f28a Mon Sep 17 00:00:00 2001
From: Clinton Alexander <clinton.alexander@r3cev.com>
Date: Wed, 2 Nov 2016 11:36:12 +0000
Subject: [PATCH] Added instructions for running simm valuation demo.

---
 docs/source/initialmarginagreement.rst | 20 +++++++++++---------
 docs/source/running-the-demos.rst      |  2 +-
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/docs/source/initialmarginagreement.rst b/docs/source/initialmarginagreement.rst
index 1ee4b9330a..78a0fea976 100644
--- a/docs/source/initialmarginagreement.rst
+++ b/docs/source/initialmarginagreement.rst
@@ -61,14 +61,16 @@ Running the app
 
 The demonstration can be run in two ways - via IntelliJ (which will allow you to add breakpoints, debug, etc), or via gradle and the command line.
 
+Run with IntelliJ::
 
-Via IntelliJ
-    - locate ``Main.kt`` in TODO
-    - run TODO
-    - browse to TODO
+    1. Open the `cordapp-samples` project with IntelliJ
+    2. Run the shared run configuration "SIMM Valuation Demo"
+    3. Browse to http://localhost:10005/web/simmvaluationdemo
 
-Via Command Line
-    - gradle TODO
-    - cd TODO
-    - java corda.jar TOOD
-    - (repeat for nodes x,y,z) TODO
+Run via CLI::
+
+    1. Navigate to the `cordapp-samples` directory in your shell
+    2. Run the gradle target `deployNodes` (ie; ./gradlew deployNodes for Unix or gradlew.bat on Windows)
+        1. Unix: `cd simm-valuation-demo/build/nodes && ./runnodes`.
+        2. Windows: Open a command line window in each subdirectory of `simm-valuation-demo/build/nodes` and run `java -jar corda.jar`
+    4. Browse to http://localhost:10005/web/simmvaluationdemo
diff --git a/docs/source/running-the-demos.rst b/docs/source/running-the-demos.rst
index af15f2ce20..4b47292968 100644
--- a/docs/source/running-the-demos.rst
+++ b/docs/source/running-the-demos.rst
@@ -175,7 +175,7 @@ In the second terminal, run:
 
 You should see some log lines scroll past, and within a few seconds the message "File received - we're happy!" should be printed.
 
-Simm and Portfolio Demo
+SIMM and Portfolio Demo
 -----------------------
 
 To run the demo run: