Skip to content

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

Notifications You must be signed in to change notification settings

cedricss/opa-on-dotcloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 39.2%
  • Opa 32.2%
  • Racket 28.6%