Giter Club home page Giter Club logo

paasbakeoff's Introduction

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!

paasbakeoff's People

Contributors

natea avatar

Watchers

James Cloos avatar Rashedul Islam Riyad avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.