How to deploy Etherpad Lite on Cloudfoundry

ArthurHlt edited this page Sep 5, 2014 · 1 revision

General

Resources

For Developers

How to's

Set up

Advanced steps

Integrating Etherpad in your web app

for Developers

Clone this wiki locally

In case you're not familiar with Cloud Foundry, it's an opensource platform as a service (PaaS) project sponsored by Pivotal (R&D brand from Vmware). https://github.com/cloudfoundry

Register pivotal.io account (if you haven't a cloudfoundry instance)

  1. Register an account at https://run.pivotal.io/
  2. Install cloudfoundry command line tool (Download it here[https://github.com/cloudfoundry/cli/releases](https://github.com/cloudfoundry/cli/releases
  3. open a terminal
  4. Login using your cf account cf login -a api.run.pivotal.io -u your@email.your -p your_password

Get the code and configure

  1. Get etherpad code with cf support, download the latest etherpad-lite-cf.zip from here: https://github.com/cloudfoundry-community/etherpad-lite-cf/releases
  2. extract the .zip file where you want
  3. Adjust the settings.json to your liking (NOTE: do not configure any port on it! ).

Upload your etherpad-lite to your cloudfoundry instance

  1. Go to the extracted archive with your console
  2. Run cf push etherpad-lite-<your_name> -m 512M
  3. You've done