shekhargulati / todo-capedwarf

JUDCon Brazil demo application for capedwarf session

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 -t jbossas-7 -a MyGaeApp
    
  5. Remove JBossAS default sample application

     cd MyGaeApp
     rm -r src/main/webapp/*
     git add -A
     git commit -m"Sample app removed."
    
  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.

About

JUDCon Brazil demo application for capedwarf session


Languages

Language:Shell 67.8%Language:Java 32.2%