Deploying a Custom Portlet
From GroundWork Developer Kit
When you have completed development on a custom portlet and wish to deploy it, follow these steps:
- Stop gwservices
- Navigate to your development directory
- Deploy the project
- Restart gwservices
- 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:
- In the SuperUser Window, stop gwservices:
> ./ctlscript.sh stop gwservices
The figure below displays the stop gwservices command in the SuperUser window.
- In the Development window, navigate to the sample-php directory
> cd usr/local/groundwork/gdk/monitor-portal/applications/sample-php
- Type the following command to deploy the file:
> maven deploy
The figure below displays the deploy command executed in the Development window.
- In the SuperUser Window, restart gwservices:
> ./ctlscript.sh start gwservices
The figure below displays the stop gwservices command in the SuperUser window
[edit] GroundWork Monitor Configuration
After restarting the GroundWork server, you must configure GroundWork Monitor to display your custom portlet.
[edit] More Information
Refer to: