Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Quickstart Etherpad on OpenShift | Etherpad is a hosted web service that allows really real-time document collaboration for groups of users.

branch: master
README.md

Etherpad on OpenShift

This git repository helps you get up and running quickly w/ a Etherpad installation on OpenShift. The backend database is MongoDB and the database name is the same as your application name (using $_ENV['OPENSHIFT_APP_NAME']). You can name your application whatever you want. However, the name of the database will always match the application so you might have to update .openshift/action_hooks/build.

Running on OpenShift

Create an account at https://www.openshift.com

Create a nodejs application with mongodb (you can call your application whatever you want)

rhc app create etherpad nodejs-0.6 mongodb-2

Add this upstream Etherpad repo

cd etherpad
git remote add upstream -m master git://github.com/openshift/etherpad-example.git
git pull -s recursive -X theirs upstream master
# note that the git pull above can be used later to pull updates to
# Etherpad the rm and ln is there until I can figure out github and
# symbolic links 

Then push the repo upstream

git push

That's it, you can now checkout your application at (default admin account is admin/OpenShiftAdmin):

http://etherpad-$yournamespace.rhcloud.com

NOTES:

GIT_ROOT/.openshift/action_hooks/deploy: This script is executed with every 'git push'. Feel free to modify this script to learn how to use it to your advantage. By default, this script will create the database tables that this example uses.

git push warnings: You can safely ignore these. However if they really annoy you, you can edit settings.json and replace the database settings with your own. Then edit .openshift/action_hooks/deploy and remove the sed statements.

Something went wrong with that request. Please try again.