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
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.