Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

appsembler/paasbakeoff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

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!

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages