From: Tomas Sedovic tsedovic@redhat.com
--- README | 12 +++++------- docs/drivers.mdown | 20 ++++++++------------ 2 files changed, 13 insertions(+), 19 deletions(-)
diff --git a/README b/README index 6fd4a4d..e0ffe63 100644 --- a/README +++ b/README @@ -11,18 +11,16 @@ It depends on [Condor][condor] for its task implementation system. In addition, we use the **docs** repository that contains the project documentation and the sources of the http://deltacloud.org website.
-The Deltacloud Core repository is hosted on [Apache Incubator][incubator]. To get the -latest code: +The Deltacloud Core repository is hosted on [Apache Incubator][incubator]. +Apache uses Subversion, but there is a git mirror available:
$ mkdir deltacloud $ cd deltacloud - $ git svn init -s https://svn.apache.org/repos/asf/incubator/deltacloud - $ git svn fetch --log-window-size 10000 + $ git clone git://git.apache.org/deltacloud.git core
-**Note**: You can use git-svn, but be aware that it takes well over an hour to -fetch the complete revision history. +You can find the Subversion repository at: https://svn.apache.org/repos/asf/incubator/deltacloud.
-The sources for Aggregator and docs are in git repositories: +To get Aggregator and Docs:
$ git clone --branch next git://git.fedorahosted.org/git/deltacloud/aggregator.git/ $ git clone --branch next git://git.fedorahosted.org/git/deltacloud/docs.git/ diff --git a/docs/drivers.mdown b/docs/drivers.mdown index d0c588f..f952875 100644 --- a/docs/drivers.mdown +++ b/docs/drivers.mdown @@ -9,25 +9,21 @@ drivers and their capabilities are:
## Setting up the code
-To set up a Deltacloud core, and one of its drivers, currently, you must -checkout the code from the core repository: +To set up a Deltacloud core and the drivers, install the +[deltacloud-core][coregem] Ruby gem:
- mkdir deltacloud - cd deltacloud - git svn init -s https://svn.apache.org/repos/asf/incubator/deltacloud - git svn fetch --log-window-size 10000 - cd core/server - rake package - sudo gem install pkg/deltacloud-core-<version>.gem +[coregem]: http://rubygems.org/gems/deltacloud-core
-The core will soon be available both as a Ruby gem and RPM packages. + # gem install deltacloud-core + +RPM package will be available soon.
## Launch the server
The server is launched with the `deltacloudd` command and pass it the name of the driver you want to use:
- deltacloudd -i mock + $ deltacloudd -i mock
This will start a webserver running the mock driver on `http://localhost:3001/api%60; you can simply browse to that URL to get a @@ -37,7 +33,7 @@ pretty view of the objects the driver deals with.
For the Amazon EC2 you need to install the `amazon-ec2` Ruby gem:
- sudo gem install amazon-ec2 + # gem install amazon-ec2
When using the driver for Amazon EC2, the credentials passed in response to the HTTP 401 authentication challenge should be your