- Install all npm dependencies (also installs all bower dependencies)
npm install
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:
-
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.
-
In your SAP Cloud Platform Cockpit go to
HTML5 Applications
and press Import from File -
Select the library zip file (nabi-m.zip), choose a name (nabimobilelib), a verison (0.2.0) and press the Import button
-
Click the application name you have chosen under HTML5 Applications
-
Under Versioning press the Activate button for the version you just uploaded
-
Confirm the dialog in case it shows up
-
Now the app's state sohuld be
Started