Dave McCrory
posted this on August 04, 2011 08:04
Spring STS has been downloaded and installed.
The Micro Cloud Foundry VM has been configured and is powered on.
VMC command line instructions can be found here
Default Micro Cloud Foundry resource limitations can be found here
Start Spring STS and click on the Extensions Tab

Scroll down and select Cloud Foundry Integration, then click Install

An Install window will open, click Next and click Next again

You must then accept the License Agreement to continue, then click Finish

The Install will finish and you will be asked to restart Spring STS, choose Yes

After Spring STS restarts, go to the Servers tab, right click and select New, Server

The New Server Dialog will be displayed, select VMware, Cloud Foundry
Click Next

The Cloud Foundry Account information will be displayed. Select Microcloud
from the URL drop down.

The Create Microcloud Target Dialog will be displayed, the value entered
should match the DNS name that the Micro Cloud Foundry instances is pointed to.
In the example below it is demo
After entering demo, click Ok

If you have not logged into Micro Cloud Foundry and registered an account
during the Micro Cloud Foundry installation, you will need to do this first.
Next enter the credentials created into the Account Information dialog and
click Validate. This ensures that you can authenticate to the Micro Cloud Foundry
Instance.

After your credentials successfully validate, click Finish

If you would like to change your Password follow these directions, otherwise
you can skip to the next section.
To Change your password, first go to the Servers Tab and double click
VMware Cloud Foundry

The VMware Cloud Foundry Overview screen will be show, choose the
Change Password button.

The Change Password dialog will be displayed, Enter the New Password,
Verify the New Password and click OK

The password has now been changed
In the Spring STS Dashboard tab, choose Spring Template Project

Under Template Selection choose Spring MVC Project, click Next

Under Project Settings, Create a project name (MicroCloudFoundry in the example)
and specify a top-level package (me.cloudfoundry.demo.mcf in the example)
then click Finish

Under Package Explorer, there is now Package matching the project name entered
(MicroCloudFoundry in this example)
Drag the package down to the VMware Cloud Foundry Server


The Application dialog will now be displayed, click Next

Make note of the Deployed URL and Click Finish

The VMware Cloud Foundry tab will be displayed and the Application started

Start the STS Browser or a Web Browser and go to the deployed URL
( http://microcloudfoundry.demo.cloudfoundry.me in this example)

To create a more complex example using all of the current services inside of Micro Cloud Foundry
follow these directions.