Skip to content

Latest commit

 

History

History
76 lines (54 loc) · 1.9 KB

README.md

File metadata and controls

76 lines (54 loc) · 1.9 KB

PaaS bakeoff

A Mezzanine project template that demonstrates how to deploy Django projects to several PaaS providers

Usage

First clone the code repository:

$ git clone git://github.com/appsembler/paasbakeoff.git

See the different PaaS providers that you can deploy to by looking at the branches:

$ git branch
* dotcloud
  heroku
  master
  openshift
  stackato

Then checkout the branch for the PaaS provider that you want to deploy to:

Stackato

Download the Stackato client and create an account on their sandbox.

$ cd paasbakeoff
$ git checkout stackato
$ stackato push

See this blog post for more details about deploying Mezzanine to Stackato.

OpenShift

Download the OpenShift 'rhc' client and create an account on OpenShift.

$ rhc create -a mymezzanine -t python-2.6
$ rhc app cartridge add -c mysql-5.1 -a mymezzanine
$ cd mezzanine
$ git remote add paasbakeoff git://github.com/appsembler/paasbakeoff.git
$ git fetch paasbakeoff
$ git merge paasbakeoff/openshift
$ git push

See this blog post for more details about deploying Mezzanine to OpenShift.

Dotcloud

Pip install the dotcloud client and create an account on Dotcloud

$ cd paasbakeoff
$ git checkout dotcloud
$ dotcloud create mymezzanine
$ dotcloud push

Heroku

TODO

If you would like to contribute another PaaS (Gondor, AWS Elastic Beanstalk, Google App Engine, etc), please fork the project and submit a pull request. Thanks!