Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A skeleton Mezzanine project demonstrating how to deploy it to each PaaS provider
Python

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
mywebsite
.gitignore
README.md

README.md

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

Download the Heroku toolbelt and create an account on Heroku.

$ cd paasbakeoff
$ git checkout heroku
$ heroku create myapp
$ heroku addons:add heroku-postgresql:dev
$ git push heroku heroku:master
$ heroku run python mywebsite/manage.py syncdb
$ heroku run python mywebsite/manage.py collectstatic

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!

Something went wrong with that request. Please try again.