This is an old revision of the document!
Step 1: Install Ruby
Step 2: Install RubyGems
Step 3: Install Git
Step 4: Install the client tools
(ruby-full installs the gem binary automatically)
sudo apt-get install ruby-full git-core sudo gem install rhc
rhc setup
Step 1: Login to openshift.redhat.com
Step 2: Generate a Public/Private key pair
Step 3: Create your namespace (aka domain)
For ease of deployment use the pre-built dokuwiki-quickstart repository
https://github.com/openshift/dokuwiki-quickstart
Step 1: Create an empty application
Step 2: Download dokuwiki
Step 3: Push to OpenShift Online
rhc app create dokuwiki php-5.4 cd dokuwiki git remote add upstream -m master git://github.com/openshift/dokuwiki-quickstart.git git pull -s recursive -X theirs upstream master
Note: The git pull command above can be used later to pull updates to Dokuwiki
===== Customize DokuWiki =====
To customize Dokuwiki you must modify the git repository and the deploy scripts.
This way your application customization will remain persistent accross each deployment.
Step 1: Install and configure Google Authentication
Step 2: Modify the Dokuwiki config files
Step 3: Update the deploy hook script
<code>
cd ~/dokuwiki/.openshift
mkdir plugins
cd plugins
wget https://github.com/kettari/authgoogle/archive/master.tar.gz
tar xf master.tar.gz
rm master.tar.gz
mv authgoogle-master authgoogle
cd ~/dokuwiki/.openshift/conf
vi local.php
</code>
===== Misc Notes =====
You can obtain Secure Shell access to your application (Gear) by running the following command:
<code>rhc ssh dokuwiki</code>
The persistent date storage location for your application can be accessed in your deploy scripts by using the following environment variable:
<code>$OPENSHIFT_DATA_DIRs</code>
* OpenShift Origin is the upstream Open Source project for OpenShift.
* This means you can download it and host your own OpenShift cloud!
http://www.openshift.org/
So Cloud Hosting could be the same thing as shared hosting…
But Cloud hosting