Tuesday, January 1, 2013

Getting started with WSO2 AppFactory


In my previous post, I mentioned about the WSO2 AppFactory application development platform. From this post I'm planning to give you some guidelines on how to run the pre-configured VM image of WSO2 AppFactory version 1.0.0 milestone 8 release.

The WSO2 AppFactory version 1.0.0 milestone 8 can be downloaded using this link. This zip file contains several files.
  • README.txt  
Readme file that describes how to run the VM image. This includes the necessary instructions on how to configure the IP settings in your local machine.
  • Samples
This is the samples directory. The milestone 8 release contains 5 samples. 
  • AFHelloWorld  
  • APIMIntegration  
  • DBSample  
  • FavouriteColourApp  
  • JenkinsTestReportingSample 
  • Wso2Appfactory
This folder contains the VMware image. This image is a pre-configured VMware image that includes all the necessary servers. It is configured in a way that it will start all the servers at VM image boot-up. 

Prerequisites

  1. VMware player should be installed in the host machine. 
  2. Host machine should be connected to the internet(for email verification purposes)
  3. At least 4GB ram is required(8GB ram is recommended)

Startup

  • Start the VMware Player.
  • Open the image. (open the Wso2Appfactory.vmx file)
  • Start the virtual machine.
  • If prompted, selected the option "I moved it".
  • After startup, login to the server. (username - appfactory, password - appfactory)
  • Get the IP address of the VM server. (ifconfig in linux)
  • Add the following entries to the host file in your local machine( /etc/hosts in linux). Use the above IP address for these entries(replace 10.100.3.36 with the correct IP address).
10.100.3.36 appfactorypreview.wso2.com
10.100.3.36 appserver.prod.appfactorypreview.wso2.com
10.100.3.36 appserver.dev.appfactorypreview.wso2.com
10.100.3.36 appserver.test.appfactorypreview.wso2.com
10.100.3.36 controller.appfactorypreview.wso2.com
10.100.3.36 jenkins.appfactorypreview.wso2.com
10.100.3.36 redmine.appfactorypreview.wso2.com
10.100.3.36 apimanager.appfactorypreview.wso2.com

  • Finally to access different servers, use the following URLs
Access Appfactory https://appfactorypreview.wso2.com/appmgt/
Access Dev cloud Application server https://appserver.dev.appfactorypreview.wso2.com/
Access Test cloud Application server https://appserver.test.appfactorypreview.wso2.com/
Access Production cloud Application server https://appserver.prod.appfactorypreview.wso2.com/ 

No comments:

Post a Comment