An open API service indexing awesome lists of open source software.

https://github.com/zowe/sample-trial-app


https://github.com/zowe/sample-trial-app

Last synced: 8 months ago
JSON representation

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.
![Sample-Trial-App-Menu](/screenshots/Sample-Trial-App_Menu-Bar.png?raw=true "Sample-Trial-App_Menu-Bar")

### Main Application
When clicking the Sample Trial App selection, it will open up the Sample Trial Application and bring you to the home screen.
![Sample-Trial-App-Screenshot](/screenshots/Sample-Trial-App_Home-Screen.png?raw=true "Sample-Trial-App_Home-Screen")