You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Copy file name to clipboardExpand all lines: docs/pages/cdp/cdp-Deploying-your-first-nodejs-app.md
+7-10Lines changed: 7 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,9 @@ toc: false
27
27
28
28
4. Package the Node.js application into a [CICS bundle](cdp-cics-bundles).
29
29
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.
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>
52
49
53
-
6. Deploy the CICS bundle into CICS.
50
+
5. Deploy the CICS bundle into CICS.
54
51
55
52
Replace the value for `--name` with the name of the BUNDLE resource to be created in CICS.
56
53
@@ -64,10 +61,10 @@ toc: false
64
61
65
62
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.
66
63
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.
68
65
69
66
### Results
70
67
71
68
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.
72
69
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