Skip to content

Commit 8274375

Browse files
committed
Tweaks
1 parent 5896815 commit 8274375

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

docs/pages/cdp/cdp-Deploying-using-individual-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ summary: "The following steps take you through the individual actions to deploy
66
sidebar: cdp_sidebar
77
permalink: cdp-Deploying-using-individual-actions.html
88
folder: cdp
9-
toc: false
9+
toc: true
1010
---
1111

1212
The `zowe cics-deploy push bundle` command performs a set of actions to deploy applications to CICS, as can be seen in [Deploying your first Node.js app](cdp-Deploying-your-first-nodejs-app). The main actions include:

docs/pages/cdp/cdp-Deploying-your-first-nodejs-app.md

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,9 @@ toc: false
2727

2828
4. Package the Node.js application into a [CICS bundle](cdp-cics-bundles).
2929

30-
Make sure you are in the root directory of the application. Replace the value for the `--port` option with one that is available for use by the CICS region on z/OS.
30+
Make sure you are in the root directory of the application.
31+
32+
Replace the value for the `--port` option with one that is available for use by the CICS region on z/OS. This sets the PORT environment variable in the generated `.profile` file. Additional variables can be set by editing this file.
3133

3234
```console
3335
zowe cics-deploy generate bundle --port 3000 --overwrite
@@ -43,14 +45,9 @@ toc: false
4345
create : .zosattributes
4446
create : META-INF
4547
create : META-INF/cics.xml
46-
CICS Bundle generated with bundleid "myexpressapp"
47-
</pre>
48-
49-
5. Update the CICS Node.js application profile if your application requires environment variables to be set.
50-
51-
Edit the `.profile` file created in step 4, for example `nodejsapps/myexpressapp.profile` to add the environment varaiables.
48+
CICS Bundle generated with bundleid "myexpressapp"</pre>
5249

53-
6. Deploy the CICS bundle into CICS.
50+
5. Deploy the CICS bundle into CICS.
5451

5552
Replace the value for `--name` with the name of the BUNDLE resource to be created in CICS.
5653

@@ -64,10 +61,10 @@ toc: false
6461

6562
You can call the application from a browser using URL [http://myzos:3000/](http://myzos:3000/), replacing _myzos_ with the host name of the z/OS system, and _3000_ with the port specified in step 4.
6663

67-
You can make changes to the application and redeploy it by repeating step 6.
64+
If you make changes to the application you can redeploy it by repeating step 5.
6865

6966
### Results
7067

7168
The Node.js application is packaged into a CICS bundle on the workstation, uploaded to a directory on z/OS, and is running in CICS.
7269

73-
{% include tip.html content="[Best practice for developing Node.js applications](https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/applications/developing/node/best-practice.html) provides guidance on using environment variables and graceful application termination." %}
70+
{% include tip.html content="[Best practice for developing Node.js applications](https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/applications/developing/node/best-practice.html) provides guidance on setting and using environment variables and graceful application termination." %}

0 commit comments

Comments
 (0)