Skip to content

ptescher/openshift-cartridge-play2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

OpenShift Play Framework Cartridge

Works with Play 2.3 and Activator : http://www.playframework.com/

Use it

Note : now works with small OpenShift gears, the build script will use no more than 512MB by default.

From the web site

In OpenShift, choose a downloaded cartridge, with the following URL : http://cartreflect-claytondev.rhcloud.com/reflect?github=pat2man/openshift-cartridge-play2

Note that it takes about 5 minutes to create the application since it will download the activator from typesafe and the initial build of the sample application takes a few minutes, depending on the load of the server.

command line (rhc)

rhc app create playtest http://cartreflect-claytondev.rhcloud.com/reflect\?github\=pat2man/openshift-cartridge-play2 --no-git -s

This will create a play application but it will not deploy any code. To deploy your app take a look at this deploy script:

https://gist.github.com/pat2man/870f3ae1c86f0b11f300

Local start

You need to have installed Play on your development workstation.

Simply launch activator run from your invite, and browse to http://localhost:9000/ to see the welcome page.

Packages

No packages published

Languages

  • Shell 35.3%
  • Scala 31.9%
  • ApacheConf 23.9%
  • Ruby 6.3%
  • HTML 2.6%