Cloud development  Play, Scala and OpenShift
Overview●      Its about OpenShift●      Its not about Play●      Its not about Scala●      Theres a hidden agendaBased on...
Demo 1● https://openshift.redhat.com● http://cloudit-xita.rhcloud.com/● http://brms-xita.rhcloud.com/
Available cartridges
Lets create CloudIT● Download Play framework● Download RedHat Command Line Tools● Get Play2 OpenShift quickstart  https://...
Lets create CloudIT● Play stage  play clean compile stage● Add to git  git add .  git commit -m "some first app"  git push...
How does it work?● .openshift/....● git repo● Based on standards
Lets create CloudIT● Make some changes● Add Jenkins  ○ Online: enable jenkins  ○ Add "play clean compile stage" to build  ...
Pricing & Production use● Pricing  https://openshift.redhat.com/community/blogs/announcing-openshift-pricing-beyond-free-p...
OpenShift vs. Heroku●   Create your own PaaS?●   Based on open standards?●   Free for developers?●   Production ready?
Other stuff● Architecture  https://openshift.redhat.com/community/wiki/architecture-overview● Build your own Paas:  https:...
Hidden agenda Applications
Next stepsPossibilities:● Fix Jenkins build● Create OpenShift Play cartridge● Add persistence cartridge to demo app● Put D...
Upcoming SlideShare
Loading in …5
×

Cloud development using play, scala and openshift

1,097 views
968 views

Published on

Demo on how to use Play with OpenShift and a trial to get it working with Jenkins

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,097
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
10
Comments
0
Likes
2
Embeds 0
No embeds

No notes for slide

Cloud development using play, scala and openshift

  1. 1. Cloud development Play, Scala and OpenShift
  2. 2. Overview● Its about OpenShift● Its not about Play● Its not about Scala● Theres a hidden agendaBased on:https://github.com/opensas/play2-openshift-quickstart#readme
  3. 3. Demo 1● https://openshift.redhat.com● http://cloudit-xita.rhcloud.com/● http://brms-xita.rhcloud.com/
  4. 4. Available cartridges
  5. 5. Lets create CloudIT● Download Play framework● Download RedHat Command Line Tools● Get Play2 OpenShift quickstart https://github.com/opensas/play2-openshift-quickstart● Create new Play app "CloudIT" play new CloudIT● Initialize git git init● Create app on OpenShift (diy) rhc app create -a cloudit -t diy-0.1 --nogit● Link git repos git remote add origin ssh://uuid@cloudit-xita.rhcloud.com/~/git/cloudit.git/ git pull -s recursive -X theirs origin master git add . git commit -m "initial deploy" git remote add cloudit -m master git://github.com/jdewinne/play2-openshift-quickstart.git git pull -s recursive -X theirs cloudit master
  6. 6. Lets create CloudIT● Play stage play clean compile stage● Add to git git add . git commit -m "some first app" git push origin● Test http://cloudit-xita.rhcloud.com/
  7. 7. How does it work?● .openshift/....● git repo● Based on standards
  8. 8. Lets create CloudIT● Make some changes● Add Jenkins ○ Online: enable jenkins ○ Add "play clean compile stage" to build Use $OPENSHIFT_DATA_DIR ○ Add Play framework to jenkins Create PLAY environment variable ○ Doesnt work. Why?
  9. 9. Pricing & Production use● Pricing https://openshift.redhat.com/community/blogs/announcing-openshift-pricing-beyond-free-php-and-java-hosting-in-the-cloud mailto: openshift@redhat.com 3 applications for free● Production use Not yet!
  10. 10. OpenShift vs. Heroku● Create your own PaaS?● Based on open standards?● Free for developers?● Production ready?
  11. 11. Other stuff● Architecture https://openshift.redhat.com/community/wiki/architecture-overview● Build your own Paas: https://openshift.redhat.com/community/wiki/build-your-own-paas-from-the-openshift-origin-livecd-using-liveinst● Build your own cartridge https://openshift.redhat.com/community/wiki/introduction-to-cartridge-building
  12. 12. Hidden agenda Applications
  13. 13. Next stepsPossibilities:● Fix Jenkins build● Create OpenShift Play cartridge● Add persistence cartridge to demo app● Put DeployIT on OpenShift● Arquillian● Other ideas?

×