From 814c674d2e2eb16a1a2e1bcafa5587402052079d Mon Sep 17 00:00:00 2001 From: semanej <32274650+semanej@users.noreply.github.com> Date: Mon, 8 Apr 2019 16:40:57 -0400 Subject: [PATCH] Update README * Include try-iris for cloud, but skip for InterSystems Learning Labs * Simplify steps for local --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index b9e097a..ae6676e 100644 --- a/README.md +++ b/README.md @@ -1,18 +1,17 @@ # Samples-nodejs-helloworld This is a simple hello world example to show a Node.js connection to InterSystems IRIS. -## To run in InterSystems Learning Labs, AWS, GCP, or Azure -1. Open Samples-nodejs-helloworld/HelloWorld.js -2. Modify the value of host to be "try-iris" -3. In the integrated terminal window, type: +## To run in InterSystems Learning Labs or Evaluator Edition (on AWS, GCP, or Azure) +1. Open Samples-nodejs-helloworld/HelloWorld.js to see the sample code +2. In AWS, GCP, or Azure ONLY: Modify the value of host to be "try-iris" (Please skip this step if using InterSystems Learning Labs) +3. In the integrated terminal window, type: `cd /home/project/Samples-nodejs-helloworld` `npm install intersystems-iris-native` `node HelloWorld.js` ## To run locally 1. Clone this repo and open it in your favorite IDE (such as Visual Studio Code) -2. Open Samples-nodejs-helloworld/HelloWorld.js -3. Verify the values for host, port, username, and password. Update as needed. -4. In the integrated terminal window, navigate to your repository's home directory and type: +2. Open Samples-nodejs-helloworld/HelloWorld.js and verify the values for host, port, username, and password are right. Update as needed. +3. In the integrated terminal window, navigate to your repository's home directory and type: `npm install intersystems-iris-native` `node HelloWorld.js`