Updated _Sidebar (markdown)
[bibanon.git] / Openshift-Setup.md
blobe531a956f6411a31452e079c4e8ba3f2cbab978e
1 # Get your own gollom wiki onto OpenShift Express
3 This project is all about getting your own [gollum](https://github.com/github/gollum) wiki hosted on
4 Red Hat's [Openshift](https://openshift.redhat.com/app/). It's quite straight forward. Just sign up
5 for an OpenShift account and follow these instructions:
7     $ git clone git@github.com:hferentschik/gollum-openshifted.git
8     $ git remote rm origin
9     $ rhc-create-domain -n <your-domain> -l <email> -p <password>
10     $ rhc-create-app -a <app> -t rack-1.1 -l <email> -p <password> --nogit
11     
12         Found a bug? Post to the forum and we'll get right on it.
13         IRC: #openshift on freenode
14         Forums: https://www.redhat.com/openshift/forums
16         Attempting to create remote application space: <app>
17         Contacting https://openshift.redhat.com
18         API version:    1.1.1
19         Broker version: 1.1.1
21         RESULT:
22         Successfully created application: <app>
24         Checking ~/.ssh/config
25         Contacting https://openshift.redhat.com
26         Found rhcloud.com in ~/.ssh/config... No need to adjust
27         Now your new domain name is being propagated worldwide (this might take a minute)...
29         Pulling new repo down
30         Confirming application fubar is available
31         Attempt # 1
33         Success!  Your application is now published here:
35            http://<app>-<your-domain>.rhcloud.com/
37         The remote repository is located here:
39            <git-url> 
41         To make changes to your application, commit to <app>.
42         Then run 'git push' to update your OpenShift Express space
44     $ git remote add openshift <git-url>  
45     $ git push -f openshift master
46     
47 * \<your-domain\> - The domain name you want to use for your apps
48 * \<email\>       - The email you signed up with for OpenShift  
49 * \<password\>    - Your OpenShift password
50 * \<git-url\>     - The OpenShift git URL which you receive when executing _rhc-create-app_     (see above sample output)
52 The commits will be made by John Doe. Make sure to edit the action hook '[build](https://github.com/hferentschik/gollum-openshifted/blob/master/.openshift/action_hooks/build)'
53 to change this. The default login is wiki/wiki. This can be changed in [config.ru](https://github.com/hferentschik/gollum-openshifted/blob/master/config.ru).
55 See also
57 * http://www.highlevelbits.com/2011/11/gollum-wiki-reloaded.html
58 * http://www.highlevelbits.com/2011/11/my-precious-wiki.html
60 Let me know if you have problems ...
62 Enjoy,
64 Hardy