On Tue, Mar 30, 2010 at 4:58 AM, clouduser s <jcclouduser(a)gmail.com> wrote:
OS: Ubuntu 9.10
$rails --version
Rails 2.3.5
$vi /home/ubuntu/deltacloud/portal/src/config/environment.rb
#RAILS_GEM_VERSION ( I have commented )
$rake db:create:all
Couldn't create database for {"username"=>"postgres",
"adapter"=>"postgresql",
"database"=>"dcloud_test",
"host"=>"localhost"}
What mistake i did ??
Sadly, our site documentation is woefully out of date. We are very close to
pushing a new version live (next week or two, hopefully), but in the
meantime, if you want to test the api server you need to:
git clone
git://git.fedorahosted.org/git/deltacloud/core.git/
From here, cd into core/server and 'gem build
deltacloud-core.gemspec', then
'sudo gem install deltacloud-core-*.gem'
you can now cd into core/server/bin and run:
./deltacloudd -i mock (or ec2, if that is what you are using, though you
will need to gem install the right-aws package for that) - mock is a good
test though, I highly recommend starting with that.
If you want a client to test with, you can either build/install yourself as
above (but in core/client dir), or just
'sudo gem install deltacloud-client' (you must have gemcutter as a source
for rubygems)
Also, if you want to latest documentation (still in progress), you can check
it out here:
git clone --branch next
git://git.fedorahosted.org/git/deltacloud/docs.git
or view it in your browser here:
http://git.fedorahosted.org/git/?p=deltacloud/docs.git;a=shortlog;h=refs/...