jeudi 1 décembre 2011

Install CloudFoundry VMC (command line client) on Debian Squeeze

We will install ruby, gems than vmc. At the end we will push a nodejs app to the cloud.
$ sudo aptitude install ruby-full
$ ruby -v
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]

$ sudo aptitude install rubygems
$ gem -v

$ sudo gem install vmc
Add this line to the ~/.bash_profile
export PATH=$PATH:/var/lib/gems/1.8/bin/
$ vmc -v
vmc 0.3.13

$ vmc target
Succesfully targeted to []

$ vmc login
Password: ********
Successfully logged into []
Now, follow steps described here.

cd to the directory where you have your cloudfoundry app and run:
vmc push any_app_name_here

Aucun commentaire:

Enregistrer un commentaire