Skip to content

capedwarf/openshift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

Running CapeDwarf on OpenShift

Follow this instructions to run GAE applications on OpenShift PaaS.

  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

  1. Use files from this repo to add CapeDwarf and dependent modules to JBoss AS.
    Avoiding conflicts specify git options to prefer CapeDwarf repo content.

cd mygaeapp
git remote add capedwarf-openshift https://github.com/capedwarf/openshift.git
git pull --depth=1 -s recursive -X theirs capedwarf-openshift master
  • Please be patient with pull, it takes a while, because it contains also an JBoss AS update.
  1. Copy your GAE application to mygaeapp/deployments folder.
    If you want to build your project using maven on OpenShift copy sources to src folder and remove skip_maven_build marker from mygaeapp/.openshift/markers/ folder.
  2. Push CapeDwarf modules and your app to OpenShift using:

git add deployments/*
git commit -m"Deploy sample app."
git push origin

If you are redeploying your app, replace archive file in deployments dir (or src if building on OpenShift) and commit/push changes to OpenShift:

git commit -a -m"Added new feature xyz"
git push origin

Open your application in web browser <your app name>-<your domain name>.rhcloud.com

Releases

No releases published

Packages

No packages published

Languages