Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
CapeDwarf OpenShift QuickStart example
branch: master

This branch is 6 commits ahead of capedwarf:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.openshift
deployments
src/main
README.md
pom.xml

README.md

Running CapeDwarf on OpenShift

Quickstart CapeDwarf application for OpenShift.

Follow this instructions to run Google AppEngine applications on OpenShift PaaS, using CapeDwarf.

Manual Installation

  1. Register for OpenShift
  2. Follow the instructions to install client tools (step one)
  3. Create a domain (step two on the link above)

  4. Create JBoss AS applications:

    rhc app create mygaeapp jbossas-7
    
  5. Remove JBossAS default sample application

    cd mygaeapp
    git rm -r src/main/webapp/*
    git commit -m "Removing template app"
    
  6. Use files from this github repo to add CapeDwarf modules to JBoss AS.
    Avoiding conflicts specify git options to prefer this repo content.

    git remote add upstream https://github.com/openshift/capedwarf-example.git
    git pull -s recursive -X theirs upstream master
    
  7. Push everything to OpenShift:

    git push origin master
    

    Operation takes a while to complete, OpenShift node is pulling in CapeDwarf.

  8. Open your sample app in a web browser at mygaeapp-<your domain name>.rhcloud.com, first time it takes about a minute to load all dependent modules.

License

This code is dedicated to the public domain to the maximum extent permitted by applicable law, pursuant to CC0 (http://creativecommons.org/publicdomain/zero/1.0/)

Something went wrong with that request. Please try again.