incubator-deltacloud-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lut...@apache.org
Subject svn commit: r962093 - /incubator/deltacloud/trunk/framework/README
Date Thu, 08 Jul 2010 23:22:28 GMT
Author: lutter
Date: Thu Jul  8 23:22:28 2010
New Revision: 962093

URL: http://svn.apache.org/viewvc?rev=962093&view=rev
Log:
Updating readme.

Modified:
    incubator/deltacloud/trunk/framework/README

Modified: incubator/deltacloud/trunk/framework/README
URL: http://svn.apache.org/viewvc/incubator/deltacloud/trunk/framework/README?rev=962093&r1=962092&r2=962093&view=diff
==============================================================================
--- incubator/deltacloud/trunk/framework/README (original)
+++ incubator/deltacloud/trunk/framework/README Thu Jul  8 23:22:28 2010
@@ -1 +1,40 @@
-== deltacloud framework is this thing, you see..
+Hooray, you've successfully checked out the framework.
+
+Now you need to check out a driver or two alongside it.
+
+Might as well go ahead and check everything out, so you end up with:
+
+  deltacloud/
+    deltacloud-framework/
+    deltacloud-driver-ec2/
+    deltacloud-driver-rhevm/
+    deltacloud-driver-mock/
+    deltacloud-client-ruby/
+
+We're going to assume you're using the mock driver, though.
+
+In deltacloud-framework/config/environment.rb, near the bottom, ensure it says
+
+	DRIVER=:mock
+
+In deltacloud-client/ run "rake fixtures" to install some mock test data.
+
+Back in detlacloud-framework/, run it like a normal rails app.  If you have other
+rails apps running, just pick another port
+
+    ./script/server             # implies port 3000
+    ./script/server -p 3001     # runs on port 3001
+
+To sanity-check, you can run the client specs from deltacloud-client-ruby/
+
+	rake spec
+
+If you're running the framework on not-localhost or not-port-3000, you can use
+environment variables to point the specs at the right place
+
+	API_PORT=3001 rake spec
+
+	API_HOST=laptop.local rake spec
+
+The specs in deltacloud-client-ruby/specs/**_spec.rb are useful examples of how 
+to use the client.



Mime
View raw message