Skip to content
This repository has been archived by the owner on Feb 23, 2022. It is now read-only.

Prerequisites for Sample Applications

markpollack edited this page Apr 12, 2011 · 1 revision

Prerequisites

To use the CLI you will need to install ruby. See Installing Ruby for more information.

To download the sample application code you will need to install a GIT client.

To compile and package the sample application you will need to install maven.

Installing and setting up the command line tool - vmc

The name of the command line tool is 'vmc' which stands fro VMware cloud. To install it type "gem install vmc" or "sudo gem install vmc"

>gem install vmc

Fetching: vmc-0.3.8.gem (100%)
Successfully installed vmc-0.3.8
1 gem installed
Installing ri documentation for vmc-0.3.8...
Installing RDoc documentation for vmc-0.3.8...    

If you are behind a firewall and have access to a proxy, set the proxy via the environment variable 'export http_proxy http://proxy.mycompany.com:portNumber'

Now target the deployment to the vmware data center

>vmc target api.cloudfoundry.com

Succesfully targeted to [http://api.cloudfoundry.com]    

Enter your credentials, the email address and password that you registered at http://www.cloudfoundry.com with

>vmc login

Email: [email protected]
Password: ********
Successfully logged into [http://api.cloudfoundry.com]
Clone this wiki locally