Skip to content

Commit a0c6afb

Browse files
Merge branch 'master' into docgen
2 parents 2f69c69 + 343e2e6 commit a0c6afb

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

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

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

2828
The Node.js application will start. You can call the application from a browser using URL [http://localhost:3000/](http://localhost:3000/), and press CTRL+C to stop it.
2929

30-
4. Package the Node.js application into a CICS bundle.
30+
4. Package the Node.js application into a [CICS bundle](cdp-cics-bundles).
3131

3232
Make sure you are in the root directory of the application. Replace the value for `--port` with one that is available for use by the CICS region on z/OS.
3333

3434
```console
3535
zowe cics-deploy generate bundle --port 3000 --overwrite
3636
```
3737

38-
The output will show the directories and files created to form a CICS bundle:
38+
The output will show the directories and files created to form a CICS bundle. For example:
3939

4040
```console
4141
define : NODEJSAPP "myexpressapp" with startscript "./bin/www"
@@ -48,21 +48,25 @@ toc: false
4848
CICS Bundle generated with bundleid "myexpressapp"
4949
```
5050

51-
5. Deploy the CICS bundle into CICS.
51+
5. Update the CICS Node.js application profile if your application requires environment variables to be set.
52+
53+
Edit the `.profile` file created in step 4, for example `nodejsapps/myexpressapp.profile`.
54+
55+
6. Deploy the CICS bundle into CICS.
5256

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

5559
```console
5660
zowe cics-deploy push bundle --name Express --overwrite
5761
```
5862

59-
A progress bar is shown and updated as the CICS bundle is deployed and the application is started. This can take a few minutes. If there are errors, retry with the `--verbose` option for more detailed output.
63+
A progress bar is shown with status messages as the CICS bundle is deployed and the application is started. This can take a few minutes. If there are errors, retry with the `--verbose` option for more detailed output.
6064

6165
6. Test the Node.js application.
6266

6367
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.
6468

65-
You can make changes to the application and redeploy it by repeating step 5.
69+
You can make changes to the application and redeploy it by repeating step 6.
6670

6771
### Results
6872

0 commit comments

Comments
 (0)