Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -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`