Permalink
Browse files

Readme updated

  • Loading branch information...
1 parent 35a6cb3 commit 48be6c5e7c12e9ce3f37605ad86cf9f3e404dcaf @cedricss committed Aug 16, 2012
Showing with 22 additions and 6 deletions.
  1. +22 −6 README.md
View
@@ -1,12 +1,28 @@
-OPA on dotCloud!
+Opa on dotCloud!
================
- git clone git://github.com/samalba/opa-on-dotcloud.git
+Minimal example
+-------------------
+
+ git clone https://github.com/cedricss/opa-on-dotcloud.git
dotcloud create myapp
dotcloud push myapp opa-on-dotcloud
-The repos contains an __app.opa__ example code. You can compile any OPA
-source code.
+The repos contains an simple `app.opa` example code (see below for a more complex app).
+
+MVC wiki application
+---------------------
+
+To try a more complex example, checkout the `origin/wiki_mvc` branch and push:
+
+ cd opa-on-dotcloud
+ git checkout origin/wiki_mvc
+ dotcloud push myapp
+
+This branch contains a `Makefile` and a `opa.conf`: those files are ready to be hacked to build a well-organized application.
+
+Caveat
+-------
-__The first push is slow__ (several minutes) because OPA compiler is being
-installed. Further pushes are faster.
+- the first push is slow because Opa compiler is being installed the first time. Further pushes are faster.
+- the database has to be named `admin` to use the default dotcloud authenfication to mongoDB.

0 comments on commit 48be6c5

Please sign in to comment.