Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
38 lines (28 sloc) 841 Bytes

Fabulous Logo

Deploy django apps to Amazon EC2 with ONE command

First clone the project

$ git clone https://github.com/gcollazo/Fabulous.git fabfile

Just change the values of fabulous_conf.py and run:

$ fab fab

Make sure the cloned folder is called fabfile

Fabulous will create an EC2 instance, install everything and deploy your app or a blank django app. All in less than 2 minutes.

Process

  • Create server on EC2
  • Wait a few seconds for server to boot
  • Install packages
  • Create virtualenv
  • Install django in virtualenv
  • Install gunicorn in virtualenv
  • Setup and run supervisor

The setup

  • nginx
  • gunicorn
  • supervisor
  • memcached
  • virtualenv
  • virtualenvwrapper
  • git

Requirements

  • Python 2.6.1
  • Fabric 0.9.3
  • Boto 2.0b4