Installing on Linux
- Download the WSO2 Gadget Server binary distribution.
- Extract the zip archive. e.g., unzip wso2gs-1.4.0.zip
- Execute the WSO2 Gadget Server starting script. e.g., wso2gs-1.4.0/bin; ./wso2server.sh
- Check your WSO2 Gadget Server instance using the URL https://localhost:8443/carbon/
Here is the complete guide for the installation of WSO2 Gadget Server
Type the following credentials
Username : admin
Password : admin
Use a text editor and write the following code
The HelloWorld Gadget
The hello world gadget is the simplest of its kind and contains only XML and HTML.
<?xml version="1.0" encoding="UTF-8" ?> <Module> <ModulePrefs title="hello world example" /> <Content type="html"> <![CDATA[ Hello, world! ]]> </Content> </Module>
Save the file as "HelloWorld.xml"
Select Gadget repository from the "WSO2 Gadget Server Home" page
Click "Add New Gadget"
There are four options to add a gadget
Gadget Url
File Path
Registry path
Zip File Path
Select File Path option in order to deploy the HelloWorld gadget (HelloWorld.xml)
Click Add Gadget . Select View Portal from the left side menu of WSO2 Gadget Server
Congratulations !!! the HelloWorld Gadget is ready now !!!!
|
No comments:
Post a Comment