Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (20 loc) · 1.21 KB

README.md

File metadata and controls

34 lines (20 loc) · 1.21 KB

Running GateIn on OpenShift

Follow this instructions to run GateIn portal 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 gatein
    
  5. Remove OpenShift sample application

     cd gatein
     rm -r src/main/webapp/*
     git add -A
     git commit -m"Sample app removed."
    
  6. 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
    
  7. Push everithing to OpenShift:

     git push origin master
    

    Operation takes a while to complete, OpenShift node is pulling in GateIn and building it.

  8. 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.