Follow this instructions to run GateIn portal on OpenShift PaaS.
-
Register for OpenShift
-
Follow the instructions to install client tools (step one)
-
Create a domain (step two on the link above)
-
Create JBoss AS applications:
rhc app create -t jbossas-7 -a gatein
-
Remove OpenShift sample application
cd gatein rm -r src/main/webapp/* git add -A git commit -m"Sample app removed."
-
Use files from this github repo to add GateIn runtime and required modules to JBoss AS. Avoiding conflicts specify git options to prefer this repo content.
git remote add gatein-openshift https://github.com/matejonnet/gatein-openshift.git git pull -s recursive -X theirs gatein-openshift master
-
Push everithing to OpenShift:
git push origin master
Operation takes a while to complete, OpenShift node is pulling in GateIn and building it.
-
Open GateIn portal in a web browser at <your app name>-<your domain name>.rhcloud.com/portal, it takes about a minute for portal to load.