https://github.com/zowe/sample-trial-app
https://github.com/zowe/sample-trial-app
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/zowe/sample-trial-app
- Owner: zowe
- License: epl-2.0
- Created: 2019-03-14T13:33:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-07-19T12:52:35.000Z (almost 3 years ago)
- Last Synced: 2024-03-22T02:01:04.884Z (over 2 years ago)
- Language: JavaScript
- Size: 6.95 MB
- Stars: 2
- Watchers: 3
- Forks: 4
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Sample Trial App
## PART I: Download & Build on local
## Method 1: From github
1) Download & build trial app
Build `web` folder
```
git clone https://github.com/zowe/sample-trial-app.git
cd sample-trial-app/webClient
npm install
npm run build
```
2) Ensure sample-trial-app is empty and exists in remote host (skip this step if you've already fulfilled the requirements)
Login
```
ssh ibmuser@my.mainframe.com
```
If sample-trial-app does not exist in remote host create an empty directory.
```
mkdir /sample-trial-app
```
3) Transfer app to server
Transfer `web`, `manifest.yaml` and `pluginDefinition.json` from your local to remote host.
```
// on your local
cd sample-trial-app
scp -r web ibmuser@my.mainframe.com:/sample-trial-app
scp -r manifest.yaml ibmuser@my.mainframe.com:/sample-trial-app
scp -r pluginDefinition.json ibmuser@my.mainframe.com:/sample-trial-app
```
## Method 2: From Artifactory
### 1) Download latest pax from artifactory
Get latest package from [artifactory](https://zowe.jfrog.io/zowe/libs-snapshot-local/org/zowe/sample-trial-app/)
Choose the latest pax build provided from the link above and download it into your local storage.
### 2) Transfer and unpax on z/OS
```
sftp ibmuser@mymainframe.ibm.com
put .pax
```
## PART II: Deploy with Zowe on server
### 1) login
```
ssh ibmuser@my.mainframe.com
```
### 2) install component using zowe-install-component.sh script
```
.//bin/zowe-install-component.sh -d -i -o -l
```
This app uses dataservice api as which can be deployed and started separately:
`https://github.com/zowe/sample-node-api`
## Verify Sample Trial App has been installed
### Menu Bar
Once installed, you should be able to see the Sample Trial App icon and selection on the menu bar in the Zowe Desktop.

### Main Application
When clicking the Sample Trial App selection, it will open up the Sample Trial Application and bring you to the home screen.
