Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Run an OPA (opalang.com) app on the dotCloud platform

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 resources
Octocat-spinner-32 src
Octocat-spinner-32 Makefile
Octocat-spinner-32 Makefile.common
Octocat-spinner-32 README.md
Octocat-spinner-32 app.opa
Octocat-spinner-32 builder
Octocat-spinner-32 dotcloud.yml
Octocat-spinner-32 opa.conf
Octocat-spinner-32 package.json
Octocat-spinner-32 run
Octocat-spinner-32 supervisord.conf
README.md

Opa on dotCloud!

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 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 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.
Something went wrong with that request. Please try again.