Deploying a Custom Portlet

From GroundWork Developer Kit

Jump to: navigation, search

When you have completed development on a custom portlet and wish to deploy it, follow these steps:

  1. Stop gwservices
  2. Navigate to your development directory
  3. Deploy the project
  4. Restart gwservices
  5. Login to GroundWork Monitor and verify that your custom portlet is available within the application

Review the detailed steps that describe deploying an example PHP portlet.

[edit] Example: Deploying a Custom PHP Portlet

Follow these commands to deploy a custom PHP portlet:

> ./ctlscript.sh stop gwservices


The figure below displays the stop gwservices command in the SuperUser window.
SuperUser window: Stopping gwservices

> cd usr/local/groundwork/gdk/monitor-portal/applications/sample-php
> maven deploy

The figure below displays the deploy command executed in the Development window.
Development window: Deploying the project

 > ./ctlscript.sh start gwservices


The figure below displays the stop gwservices command in the SuperUser window
SuperUser window: Starting gwservices

[edit] GroundWork Monitor Configuration

After restarting the GroundWork server, you must configure GroundWork Monitor to display your custom portlet.

[edit] More Information

Refer to:

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox