Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 29 lines (19 sloc) 0.844 kb
48be6c5 Cédric Soulas Readme updated
authored
1 Opa on dotCloud!
d655de1 Sam Alba first commit
samalba authored
2 ================
3
48be6c5 Cédric Soulas Readme updated
authored
4 Minimal example
5 -------------------
6
7 git clone https://github.com/cedricss/opa-on-dotcloud.git
d655de1 Sam Alba first commit
samalba authored
8 dotcloud create myapp
2b4be10 Sam Alba Update README.md
samalba authored
9 dotcloud push myapp opa-on-dotcloud
d655de1 Sam Alba first commit
samalba authored
10
48be6c5 Cédric Soulas Readme updated
authored
11 The repos contains an simple `app.opa` example code (see below for a more complex app).
12
13 MVC wiki application
14 ---------------------
15
16 To try a more complex example, checkout the `origin/wiki_mvc` branch and push:
17
18 cd opa-on-dotcloud
19 git checkout origin/wiki_mvc
20 dotcloud push myapp
21
22 This branch contains a `Makefile` and a `opa.conf`: those files are ready to be hacked to build a well-organized application.
23
24 Caveat
25 -------
d655de1 Sam Alba first commit
samalba authored
26
48be6c5 Cédric Soulas Readme updated
authored
27 - the first push is slow because Opa compiler is being installed the first time. Further pushes are faster.
28 - the database has to be named `admin` to use the default dotcloud authenfication to mongoDB.
Something went wrong with that request. Please try again.