Skip to content

Commit e5bda86

Browse files
authored
Merge pull request #156 from markcocker/master
Update install instructions to build from source
2 parents 2102ef0 + d99b679 commit e5bda86

File tree

5 files changed

+31
-30
lines changed

5 files changed

+31
-30
lines changed

docs/_data/sidebars/cdp_commads_sidebar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ entries:
6666
- title: generate bundle
6767
external_url: https://github.com/IBM/zowe-cli-cics-deploy-plugin/blob/master/docs-internal/CLIReadme.md#module-generate
6868
output: web
69-
- title: update push bundle
69+
- title: push bundle
7070
external_url: https://github.com/IBM/zowe-cli-cics-deploy-plugin/blob/master/docs-internal/CLIReadme.md#module-push
7171
output: web
7272
- title: deploy bundle

docs/_data/sidebars/cdp_sidebar.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ entries:
7979
- title: generate bundle
8080
external_url: https://github.com/IBM/zowe-cli-cics-deploy-plugin/blob/master/docs-internal/CLIReadme.md#module-generate
8181
output: web
82-
- title: update push bundle
82+
- title: push bundle
8383
external_url: https://github.com/IBM/zowe-cli-cics-deploy-plugin/blob/master/docs-internal/CLIReadme.md#module-push
8484
output: web
8585
- title: deploy bundle

docs/pages/cdp/cdp-Create-Zowe-CLI-profiles.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ This profile defines the parameters needed to connect to the z/OSMF server on z/
1919
| user | User ID to identify yourself to the z/OSMF server. |
2020
| password | Password to identify yourself to the z/OSMF server. |
2121

22-
**Note**: The user ID needs to have sufficient permissions to remove and create directories and files in the directory specified by `--targetdir` in the cics-deploy profile. The user ID also needs permission to submit JCL and to run the DFHDPLOY utility as described in the **Security** heading in topic [Automate the deployment and undeployment of CICS bundles and applications with the DFHDPLOY utility](https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/applications/deploying/dfhdploy_overview.html).
22+
{% include note.html content="The user ID needs to have sufficient permissions to remove and create directories and files in the directory specified by `--targetdir` in the cics-deploy profile. The user ID also needs permission to submit JCL and to run the DFHDPLOY utility as described in the **Security** heading in topic [Automate the deployment and undeployment of CICS bundles and applications with the DFHDPLOY utility](https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/applications/deploying/dfhdploy_overview.html)." %}
2323

2424
For example, to create a z/OSMF profile:
2525

@@ -50,7 +50,7 @@ This profile defines the parameters needed to connect to the SSH server on z/OS.
5050
| user | User ID to identify yourself to the SSH server. |
5151
| password | Password to identify yourself to the SSH server. |
5252

53-
**Note**: It is recommended that you use the same user ID and host name to connect with SSH as is used in the z/OSMF profile, failure to do so results in undefined behaviour. When an SSH connection is made, the user's remote [z/OS shell .profile](https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa400/cupro.htm) is used to set-up the shell environment and variables. This remote .profile should include any necessary environment variables and npm configuration required to run `npm install`. This is descibed in [Installing and configuring](https://www.ibm.com/support/knowledgecenter/SSTRRS_6.0.0/com.ibm.nodejs.zos.v6.doc/install.htm).
53+
{% include note.html content="It is recommended that you use the same user ID and host name to connect with SSH as is used in the z/OSMF profile, failure to do so results in undefined behaviour. When an SSH connection is made, the user's remote [z/OS shell .profile](https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3.0/com.ibm.zos.v2r3.bpxa400/cupro.htm) is used to set-up the shell environment and variables. This remote .profile should include any necessary environment variables and npm configuration required to run `npm install`. This is descibed in [Installing and configuring](https://www.ibm.com/support/knowledgecenter/SSTRRS_6.0.0/com.ibm.nodejs.zos.v6.doc/install.htm)." %}
5454

5555
For example, to create an SSH profile:
5656

@@ -87,8 +87,7 @@ This profile identifies the CICS environment for deployment. You need to know th
8787
For example to create a cics-deploy profile:
8888

8989
```console
90-
zowe profiles create cics-deploy-profile example --cicsplex PLEX1 --cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --scope TESTGRP1 --csdgroup BUNDGRP1 --targetdir /var/cicsts/bundles
91-
--overwrite
90+
zowe profiles create cics-deploy-profile example --cicsplex PLEX1 --cicshlq CICSTS55.CICS720 --cpsmhlq CICSTS55.CPSM550 --scope TESTGRP1 --csdgroup BUNDGRP1 --targetdir /var/cicsts/bundles --overwrite
9291
```
9392

9493
For help on using the options:

docs/pages/cdp/cdp-Installation.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -9,34 +9,36 @@ folder: cdp
99
toc: false
1010
---
1111

12-
1. Install [Node.js V8.0](https://nodejs.org/en/download/) or later, and Node Package Manager (npm) V5.0 or later, that are required by Zowe CLI. To verify the versions installed:
12+
1. Install Node.js V8.0 or later, and Node Package Manager (npm) V5.0 or later, that are required by Zowe CLI. Installers are available from Node.js [Downloads](https://nodejs.org/en/download/).
1313

14-
```console
15-
node --version
16-
npm --version
17-
```
14+
To verify the versions installed:
1815

19-
2. Install [Zowe CLI](https://zowe.github.io/docs-site/latest/user-guide/cli-installcli.html). For example to install using npm:
20-
21-
```console
22-
npm install -g zowe-cli
23-
```
16+
```console
17+
node --version
18+
npm --version
19+
```
2420

25-
3. Install the cics-deploy plugin:
21+
2. Install [Zowe CLI](https://zowe.github.io/docs-site/latest/user-guide/cli-installcli.html). For example to install using npm:
2622

27-
```console
28-
zowe plugins install zowe-cli-cics-deploy-plugin
29-
```
23+
```console
24+
sudo npm install -g @zowe/cli
25+
```
3026

31-
4. Verify the version of the plugin that is installed:
27+
3. Build and install the cics-deploy plugin as described in [Setting up your development environment](https://github.com/IBM/zowe-cli-cics-deploy-plugin/blob/master/docs-internal/tutorials/Setup.md). For example:
3228

33-
```console
34-
zowe plugins list
35-
```
29+
```console
30+
mkdir ~/cics-deploy
31+
cd ~/cics-deploy
32+
rm -Rf *
33+
git clone https://github.com/IBM/zowe-cli-cics-deploy-plugin
34+
cd zowe-cli-cics-deploy-plugin
35+
npm install
36+
npm run build
37+
zowe plugins install .
38+
```
3639

37-
### Update the cics-deploy plugin
40+
4. Verify the plugin is installed:
3841

39-
To update to the latest version of the plugin:
40-
```console
41-
zowe plugins update zowe-cli-cics-deploy-plugin
42-
```
42+
```console
43+
zowe plugins list
44+
```

docs/pages/cdp/cdp-Requirements.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ The [z/OS Secure SHell daemon (sshd)](https://www.ibm.com/support/knowledgecente
2323

2424
The [DFHDPLOY](https://www.ibm.com/support/knowledgecenter/SSGMCP_5.5.0/applications/deploying/dfhdploy_overview.html) utility is provided with IBM CICS Transaction Server (CICS) and is required to run the [push bundle](Commands#command-push-bundle), [deploy bundle](Commands#command-deploy-bundle), and [undeploy bundle](Commands#command-undeploy-bundle) commands. These commands start DFHDPLOY with a script to perform deploy and undeploy operations. For example the deploy operation will define, install, then enable a CICS BUNDLE resource in a one or more CICS regions.
2525

26-
The DFHDPLOY utility requires CICSPlex System Manager \(CPSM\) that is also provided with CICS to be configured, and for CPSM to be connected to the target CICS regions.
26+
CICSPlex System Manager \(CPSM\) is provided with CICS and is required to run the DFHDPLOY utility. CPSM should be connected to the CICS regions into which the CICS application is being installed.

0 commit comments

Comments
 (0)