⛔️ DEPRECATED. Please use supported widget development methods.
Custom Widget Development Environment, or WDE in short, allows a user to create his own, custom widgets for Cloudify Stage utilizing the powerful Cloudify API.
There are hundreds of options and components available for customizing your Cloudify Stage experience. Learn more by checking the Cloudify Documentation (see section: Manager Web Interface > Creating Custom Widgets).
An example widget (Sample Widget) has been included with WDE installation. You can use it as a template for developing our own, more complex widgets.
- Install NodeJS v8.9.4
- Install Grunt-CLI:
npm install -g grunt-cli(possibly you need to prepend it withsudoif you run on Linux/Mac) - Clone repository:
git clone https://github.com/cloudify-cosmo/Cloudify-UI-Widget-boilerplate - Install dependencies:
cd Cloudify-UI-Widget-boilerplate && npm install
- Create your new widget directory (in
widgetsdirectory:widgets/<new-widget-id>) - You can use working example as a base: widgets/sampleWidget
- Add your code
Widgets directory and files structure as well as API is described in details in Cloudify Documentation (see section: Manager Web Interface > Creating Custom Widgets).
- Execute
grunt widgetsZip - After successful execution your widget package is in:
output/<new-widget-id>.zip
- Log in to Cloudify UI
- Turn on Edit Mode and click Add widget button
- Click Install new widget button
- Upload your
output/<new-widget-id>.zipfile and click Install widget button - After successful installation find your widget in the list of all widgets installed, select it and click Add selected widget button