Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Creating a gollum on OpenShift template

  • Loading branch information...
commit 333d1966b2b9966c74d45d721adb67d128dbda29 1 parent 37d4d82
@hferentschik hferentschik authored
View
6 .openshift/action_hooks/build
@@ -2,4 +2,8 @@
# This is a simple build script and will be executed on your CI system if
# available. Otherwise it will execute while your application is stopped
# before the deploy step. This script gets executed directly, so it
-# could be python, php, ruby, etc.
+# could be python, php, ruby, etc.
+
+export
+perl -pi -0777 -e "s/<user>/$OPENSHIFT_APP_UUID/g" $OPENSHIFT_REPO_DIR/config.ru
+perl -pi -0777 -e "s/<app>/$OPENSHIFT_APP_NAME/g" $OPENSHIFT_REPO_DIR/config.ru
View
4 Gemfile
@@ -0,0 +1,4 @@
+source 'http://rubygems.org'
+
+gem 'gollum'
+
View
40 Gemfile.lock
@@ -0,0 +1,40 @@
+GEM
+ remote: http://rubygems.org/
+ specs:
+ albino (1.3.3)
+ posix-spawn (>= 0.3.6)
+ diff-lcs (1.1.3)
+ github-markup (0.5.3)
+ gollum (1.3.1)
+ albino (~> 1.3.2)
+ github-markup (>= 0.4.0, < 1.0.0)
+ grit (~> 2.4.1)
+ mustache (>= 0.11.2, < 1.0.0)
+ nokogiri (~> 1.4)
+ redcarpet
+ sanitize (~> 2.0.0)
+ sinatra (~> 1.0)
+ grit (2.4.1)
+ diff-lcs (~> 1.1)
+ mime-types (~> 1.15)
+ mime-types (1.17.2)
+ mustache (0.99.4)
+ nokogiri (1.5.0)
+ posix-spawn (0.3.6)
+ rack (1.3.5)
+ rack-protection (1.1.4)
+ rack
+ redcarpet (1.17.2)
+ sanitize (2.0.3)
+ nokogiri (>= 1.4.4, < 1.6)
+ sinatra (1.3.1)
+ rack (~> 1.3, >= 1.3.4)
+ rack-protection (~> 1.1, >= 1.1.2)
+ tilt (~> 1.3, >= 1.3.3)
+ tilt (1.3.3)
+
+PLATFORMS
+ ruby
+
+DEPENDENCIES
+ gollum
View
56 README
@@ -1,56 +0,0 @@
-Feel free to change or remove this file, it is informational only.
-
-Repo layout
-===========
-tmp/ - Temporary storage
-public/ - Content (images, css, etc. available to the public)
-config.ru - This file is used by Rack-based servers to start the application.
-../data - For persistent data
-.openshift/action_hooks/build - Script that gets run every git push as part of the build process (on the CI system if available)
-.openshift/action_hooks/deploy - Script that gets run every git push after build but before the app is restarted
-.openshift/action_hooks/post_deploy - Script that gets run every git push after the app is restarted
-
-
-Environment Variables
-=====================
-
-OpenShift Express provides several environment variables to reference for ease
-of use. The following list are some common variables but far from exhaustive:
-
- ENV['OPENSHIFT_APP_NAME'] - Application name
- ENV['OPENSHIFT_APP_DIR'] - Application dir
- ENV['OPENSHIFT_DATA_DIR'] - For persistent storage (between pushes)
- ENV['OPENSHIFT_TMP_DIR'] - Temp storage (unmodified files deleted after 10 days)
-
-When embedding a database using rhc-ctl-app, you can reference environment
-variables for username, host and password:
-
- ENV['OPENSHIFT_DB_HOST'] - DB host
- ENV['OPENSHIFT_DB_PORT'] - DB Port
- ENV['OPENSHIFT_DB_USERNAME'] - DB Username
- ENV['OPENSHIFT_DB_PASSWORD'] - DB Password
-
-To get a full list of environment variables, simply add a line in your
-.openshift/action_hooks/build script that says "export" and push.
-
-
-Notes about layout
-==================
-Every time you push, everything in your remote application path gets recreated
-please store long term items (like an sqlite database) in ../data which will
-persist between pushes of your repo.
-
-
-Rails 3.0
-===========
-
-Option 1) (Recommended) Git push your application Gemfile/Gemfile.lock. This will
-cause the remote OpenShift node to run bundle install --deployment to download and
-install your dependencies. Each subsequent git push will use the previously
-downloaded dependencies as a starting point, so additional downloads will be a delta.
-
-Option 2) Git add your .bundle and vendor/bundle directories after running
-'bundle install --deployment' locally. Be sure to exclude any gems that have native
-code or ensure they can run on RHEL x86_64.
-
-
View
24 README.md
@@ -0,0 +1,24 @@
+# Get your own gollom wiki onto OpenShift
+
+This project is all about getting your own [gollum](https://github.com/github/gollum) wiki hosted on
+Red Hat's [Openshift](https://openshift.redhat.com/app/). It's quite straight forward. Just sign up
+for an OpenShift account and follow these instructions:
+
+ $ git clone git@github.com:hferentschik/gollum-openshifted.git
+ $ git remote rm origin
+ $ rhc-create-domain -n <your-domain> -l <email> -p <password>
+ $ rhc-create-app -a <app> -t rack-1.1 -l <email> -p <password> --nogit
+ <git-url>
+ $ git remote add openshift <git-url>
+ $ git push -f openshift master
+
+* \<your-domain\> - The domain name you want to use for your apps
+* \<email\> - The email you signed up with for OpenShift
+* \<password\> - Your OpenShift password
+* \<git-url\> - The OpenShift git URL which you receive when creating the app
+
+Let me know if you have problems ...
+
+Enjoy,
+
+Hardy
View
321 config.ru
@@ -1,317 +1,12 @@
-require 'rack/lobster'
+require "rubygems"
+Bundler.require(:default)
-map '/health' do
- health = proc do |env|
- [200, { "Content-Type" => "text/html" }, ["1"]]
- end
- run health
-end
+require "gollum/frontend/app"
-map '/lobster' do
- run Rack::Lobster.new
+use Rack::Auth::Basic, "Welcome wiki - authenticate!" do |name, password|
+ [name, password] == ['wiki', 'wiki']
end
-map '/' do
- welcome = proc do |env|
- [200, { "Content-Type" => "text/html" }, ["<!doctype html>
-<html lang=\"en\">
-<head>
- <meta charset=\"utf-8\">
- <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge,chrome=1\">
- <title>Welcome to OpenShift</title>
- <style>
- html { background: black; }
- body {
- background: #333;
- background: -webkit-linear-gradient(top, black, #666);
- background: -o-linear-gradient(top, black, #666);
- background: -moz-linear-gradient(top, black, #666);
- background: linear-gradient(top, black, #666);
- color: white;
- font-family: 'Liberation Sans', Verdana, Arial, Sans-serif;
- width: 40em;
- margin: 0 auto;
- padding: 3em;
- }
- a {
- color: #bfdce8;
- }
-
- h1 {
- text-transform: uppercase;
- -moz-text-shadow: 2px 2px 2px black;
- -webkit-text-shadow: 2px 2px 2px black;
- text-shadow: 2px 2px 2px black;
- background: #c00;
- width: 22.5em;
- margin: .5em -2em;
- padding: .3em 0 .3em 1.5em;
- position: relative;
- }
- h1:before {
- content: '';
- width: 0;
- height: 0;
- border: .5em solid #900;
- border-left-color: transparent;
- border-bottom-color: transparent;
- position: absolute;
- bottom: -1em;
- left: 0;
- z-index: -1000;
- }
- h1:after {
- content: '';
- width: 0;
- height: 0;
- border: .5em solid #900;
- border-right-color: transparent;
- border-bottom-color: transparent;
- position: absolute;
- bottom: -1em;
- right: 0;
- z-index: -1000;
- }
- h2 {
- text-transform: uppercase;
- margin: 2em 0 .5em;
- }
-
- pre {
- background: black;
- padding: 1em 0 0;
- -webkit-border-radius: 1em;
- -moz-border-radius: 1em;
- border-radius: 1em;
- color: #9cf;
- }
-
- ul { margin: 0; padding: 0; }
- li {
- list-style-type: none;
- padding: .5em 0;
- }
- </style>
-</head>
-<body>
- <img
- alt=\"OpenShift logo\"
- src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAABKCAYAAACVbQIxAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz
-AAAWcQAAFnEBAJr2QQAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURB
-VHic7Z15nBxVtce/p7pnsj4IZOkJyQwhPSQhQCQJSIILnbCjsigh74kooIAgKoqiggooCj71RXyK
-CrI8FQUSEAIYiEmmQYQgJGFLIMlUMllnKgEC2WZ6uuue90dVJT09PTO9BYip7+dTn5m6deucW9XV
-53fXalFVQt47/tHYMvgj9TWb3+tyhISEhBSL9V4X4N+BpO1cW+q5RjiikmUJCQkJebfYJwXkqVXO
-kU+uajmmgiavTTa2nFPaqRIKSEhIyF7JXiEgDas2feqplc2HVcqeqg5XlWcbVjk/nrlsWXUFTFpq
-yd3zV28aV3RZYNSiRVRVoAz5kD1kNyQkJGTvEBDUnGksa2mD3TJnQeOmk8s1ZwQBIijfGdRr4KIG
-u3li+WWkn2X04eSK5kFFnlm1bYAzumz/OTSsdI5taHTOqLTdBaubD660zZCQkL2TvUJARMUCeRtk
-rKBPNDQ6ry5odL6QbGrqXapJABW5DKQKtRYusJ0fltUaUe5BGaS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gz0ObntEjvwVtLcjre
-VOO+eFOZA64HHkzazvF4LZJaAHk3xgVCQkLeO5K2cyzwViIeW9lNnoF44xWteDXWDwArg1Xc/hqA
-U/GCxzy8we6lwSC8X3ue4J+3FK/10WVw8Wv3abyxgON8X/Py5LvHt/XrHq5xMtCciMeastJ6+2VO
-BmtHkrbTHy+Y9sUbxH8ux86heAPGq/EWR34MeCwRj3Vq6SVtZygwJhGPNeSk9wemJOKxR7LSRuBN
-W16LN5ZzKl4QD6YYj8FrAbyciMc6Vcry+O6PJxwj8MYzlgSTBZLeyvYTcvwLXqujHu9zS+axGQM+
-jrcq3gYOyVkvcjjwUWA53iD6KaGAhISEvC/xg+QaYFQiHivqXVAh7w7hLxKGhIS8XzkHeCoUj/cv
-/w+9BQu2G5s85QAAAABJRU5ErkJggg==\">
- <h1>
- Welcome to OpenShift
- </h1>
- <p>
- Place your application here
- </p>
- <p>
- In order to commit to your new project, go to your projects git repo (created with the rhc-create-app command). Make your changes, then run:
- </p>
- <pre>
- git commit -a -m 'Some commit message'
- git push
- </pre>
- <p>
- Then reload this page.
- </p>
-
- <h2>
- What's next?
- </h2>
- <ul>
- <li>
- Why not visit us at <a href=\"http://openshift.redhat.com\">http://openshift.redhat.com</a>, or
- </li>
- <li>
- You could get help in the <a href=\"http://www.redhat.com/openshift\">OpenShift forums</a>, or
- </li>
- <li>
- You're welcome to come chat with us in our IRC channel at #openshift on freenode.net
- </li>
- </ul>
-</body>
-</html>
-"]]
- end
- run welcome
-end
+Precious::App.set(:gollum_path, '/var/lib/libra/<user>/git/<app>.git')
+Precious::App.set(:wiki_options, {})
+run Precious::App
View
BIN  vendor/cache/albino-1.3.3.gem
Binary file not shown
View
BIN  vendor/cache/diff-lcs-1.1.3.gem
Binary file not shown
View
BIN  vendor/cache/github-markup-0.5.3.gem
Binary file not shown
View
BIN  vendor/cache/gollum-1.3.1.gem
Binary file not shown
View
BIN  vendor/cache/grit-2.4.1.gem
Binary file not shown
View
BIN  vendor/cache/mime-types-1.17.2.gem
Binary file not shown
View
BIN  vendor/cache/mustache-0.99.4.gem
Binary file not shown
View
BIN  vendor/cache/nokogiri-1.5.0.gem
Binary file not shown
View
BIN  vendor/cache/posix-spawn-0.3.6.gem
Binary file not shown
View
BIN  vendor/cache/rack-1.3.5.gem
Binary file not shown
View
BIN  vendor/cache/rack-protection-1.1.4.gem
Binary file not shown
View
BIN  vendor/cache/redcarpet-1.17.2.gem
Binary file not shown
View
BIN  vendor/cache/sanitize-2.0.3.gem
Binary file not shown
View
BIN  vendor/cache/sinatra-1.3.1.gem
Binary file not shown
View
BIN  vendor/cache/tilt-1.3.3.gem
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.