Skip to content
This repository was archived by the owner on Feb 27, 2022. It is now read-only.

cloudify-cosmo/Cloudify-UI-Widget-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Widget Development Environment (WDE) Boilerplate

⛔️ 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.

Setup

  • Install NodeJS v8.9.4
  • Install Grunt-CLI: npm install -g grunt-cli (possibly you need to prepend it with sudo if 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

Widget Development

  • Create your new widget directory (in widgets directory: 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).

Widget Build

  • Execute grunt widgetsZip
  • After successful execution your widget package is in: output/<new-widget-id>.zip

Widget Test & Installation

  • 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>.zip file 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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •