This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| app-notes:cumulocity-app [2017/02/10 13:28] – [Comulocity application] krepel | app-notes:cumulocity-app [2017/02/10 14:27] (current) – [Installing Cumulocity UI plugins] krepel | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ==== Build Comulocity Application ==== | + | ===== Build Comulocity Application |
| - | ===== Prerequisites | + | ==== Prerequisites ==== |
| * You will need Node.js (6.7 or newer) | * You will need Node.js (6.7 or newer) | ||
| * You will need npm (installed with Node.js) | * You will need npm (installed with Node.js) | ||
| Line 35: | Line 35: | ||
| </ | </ | ||
| ==== Installing Cumulocity UI plugins ==== | ==== Installing Cumulocity UI plugins ==== | ||
| - | Now the can create a folder for our Cumulocity app. In this folder we need a package.json file. This file we can create with: | + | Now the can create a folder for your Cumulocity app. In this folder we need a package.json file. This file we can create with: |
| <code bash> | <code bash> | ||
| npm init | npm init | ||
| </ | </ | ||
| - | We need for our app the Cumulocity UI plugins. | + | We need for our app the Cumulocity UI plugins. |
| <code bash> | <code bash> | ||
| c8y install latest | c8y install latest | ||
| Line 45: | Line 45: | ||
| If you want, to see in detail how you can create your app then klick on this link: https:// | If you want, to see in detail how you can create your app then klick on this link: https:// | ||
| - | If you are finished with your app, then you can build your app and upload to Cumulocity. | ||
| To build the app go to the root folder of your app: | To build the app go to the root folder of your app: | ||
| <code bash> | <code bash> | ||
| - | c8y build:app | + | c8y build: |
| </ | </ | ||
| The app is stored in **/build** folder of your app. | The app is stored in **/build** folder of your app. | ||
| + | If you are finished with your app, then you can build your app and upload to Cumulocity. | ||
| ==== Upload the application to Cumulocity ==== | ==== Upload the application to Cumulocity ==== | ||
| Navigate to the Administation and klick to menu Own applications. | Navigate to the Administation and klick to menu Own applications. | ||