openshift primer - get your code into the cloud
Post on 06-Sep-2014
805 Views
Preview:
DESCRIPTION
TRANSCRIPT
OPENSHIFTPRIMER
GET YOUR CODE INTO THE CLOUDCreated by / Eric D. Schabell @ericschabell
NEVER LOOK BACK...
A LITTLE HISTORYNov 2010: Makara acquired
In 2011: merged into OpenShift project
May 2012: Open Sourced
Dec 2012: OpenShift Primer (e-book)
2013: Online Public PaaS / Enterprise Private PaaS / xPaaS
Services
Apr 2014: OpenShift Primer revision 2 (e-book)
Events - JUG's, GOTO Aarhus, JAX London, JUDCon, Devoxx, APAC
Tech Exchange
QUICKSTART1. Sign up2. Install client tools3. Create domain4. Create application5. Deploy application (GIT)
SIGN UP, IT'S FREE!
Example projects you can deploy now
Help
IRC freenode #openshift
forums
email: openshift@redhat.com
http://openshift.com
http://github.com/openshift
INSTALL CLIENT TOOLSFedora / RHEL
openshift repo/etc/yum.repos.dsudo yum install rubygem-rhc
OSX / Windows / Unixgem install rhcsee forum or blogs
CREATE DOMAINSUse rhc command$ rhc domain create {mydomain}
Use web admin console
APPLICATION DETAILS
CARTRIDGE ADDITIONS
OTHER OPTIONSname app and define type
$ rhc app create -t {apptype} {appname}Node.js, DIY, Jenkins, PHP, Ruby, Python, Perl and most
important Java!
add application to local repo
$ git add .commit changes
$ git commit -m "Initial app import."
DEPLOY TO CLOUDPush the code$ git push
Congratulations, your app is in the Cloud!
JBOSS DEVELOPER STUDIO
ADVANCED QUICKSTARTS
JAX LONDON MOBILE REGISTRATION
$ rhc app create -t jbosseap-6 jaxlondon$ cd jaxlondon$ git remote add upstream -m mastergit://github.com/eschabell/openshift-jaxlondon.git$ git pull -s recursive -X theirs upstreammaster$ git pushhttp://jaxlondon-$your_domain.rhcloud.com
HOST AWESTRUCT PRESENTATIONS$ rhc app create -t ruby-1.9 --from-codegit://github.com/eschabell/openshift-presos-awstruct.git presoshttp://presos-$your_domain.rhcloud.com
JBPM MIGRATION PROJECT
$ rhc app create -t jbossas-7 --from-codegit://github.com/eschabell/openshift-jbpmmigration.git jbpmmigrationhttp://jbpmmigration-$your_domain.rhcloud.com/jbpmmigration_upload-0.5
OPTA PLANNER DEMO
$ rhc app create -t jbosseap-6 --from-codegit://github.com/eschabell/openshift-droolsplanner.git droolsplannerhttp://droolsplanner-$your_domain.rhcloud.com/droolsplanner
BUSINESS ACTIVITY MONITORING
$ rhc app create -t jbossas-7 --from-codegit://github.com/eschabell/openshift-bpm-bam-dashboard.git bamsetup user login:$ rhc app show bam$ scp bampreview/.openshift/config/bam-*.propertiesxxxxxxxxxx@bam-inthe.rhcloud.com:~/jbossas/standalone/configuration/
http://bam-$your_domain.rhcloud.com (u:erics/p:erics)
OPENSHIFT PRIMER WORKSHOP$ rhc app create -t ruby-1.9 --from-code=https://github.com/eschabell/jaxlondon-2013-workshop.git jaxlondon2013http://jaxlondon2013-$your_domain.rhcloud.com
LOVING YOUR HAMMERS?
OpenShift Primer Workshop -
OpenShift -
Blogs -
Repository for all OpenShift demos shown here -
OpenShift demo repository -
Rise above the Cloud hype with OpenShift -
http://presos-
onthe.rhcloud.com
http://openshift.redhat.com
https://www.redhat.com/openshift/community/blogs
https://github.com/eschabell
https://github.com/openshift
http://www.schabell.org/2012/01/rise-above-cloud-hype-
with-openshift.html
ll
top related