Skip to content

Latest commit

 

History

History
54 lines (27 loc) · 1.5 KB

sap-cloud-platform-deployment.md

File metadata and controls

54 lines (27 loc) · 1.5 KB

Deployment of nabi.m to SAP Cloud Platform (SAPCP)

Before Deployment

  1. Install all npm dependencies (also installs all bower dependencies)
    npm install

SAP Cloud Platform (SAPCP)

Deploying to SAPCP can be achieved via in multiple ways, i.e. using the Web IDE. However, if your are not using the Web IDE you can still deploy by using the SAPCP Cockpit:

  1. Lint + build the library

    grunt lint build

    Hint: This will create a file nabi-m.zip in the dist folder. This is the file you want to upload in the next step.

  2. In your SAP Cloud Platform Cockpit go to HTML5 Applications and press Import from File

    SAPCP Cockpit - Step 1

  3. Select the library zip file (nabi-m.zip), choose a name (nabimobilelib), a verison (0.2.0) and press the Import button

    SAPCP Cockpit - Step 2

  4. Click the application name you have chosen under HTML5 Applications

    SAPCP Cockpit - Step 3

  5. Under Versioning press the Activate button for the version you just uploaded

    SAPCP Cockpit - Step 4

  6. Confirm the dialog in case it shows up

    SAPCP Cockpit - Step 5

  7. Now the app's state sohuld be Started

    SAPCP Cockpit - Step 6

Consumption of nabi.m