With this quickstart (https://github.com/opensas/play2-openshift-quickstart) you’ll be able to take any Play 2 application and deploy it on openshift. Just follow this instructions.
And here (https://github.com/opensas/play2-contacts-demo) you will find the contact demo app.
In the demo, in spite our internet connection conspiring against us, we managed to cover the following topics:
- Creating a new play 2 application
- Basic application structure
- Configuring your IDE to work with a Play application
- Routes
- Controllers
- Templates
- Models
- Persisting your data to an in-memory database with Ebean
- Adding Validations
- Working with Scala Templates
- Mixing Java and Scala source code in the same application
- Integrating twitter bootstrap
- Customizing your app cofiguration for running on Openshift
- Persisting your data to a file database when running on Openshift
- And finally, deploying your application on Openshift
You can also check this article in which we explain in detail how we took advantage of the new “do-it-yourself” application type on Openshift to achieve native support for Play Framework application on Openshift.
https://github.com/opensas/play2-openshift-quickstart#readme
https://github.com/opensas/play2-openshift-quickstart#readme
No comments:
Post a Comment