Skip to main content

Django deployment tool for popular PaaS providers

Project description

django-deployer is a deployment tool for Django that currently deploys any Django app to the following PaaS providers: Dotcloud, Stackato and Google App Engine.

The goal of django-deployer is to minimize the effort to deploy a Django app to any of the popular PaaS providers. It asks a series of questions about your Django project, and then generates a generic deploy.yml file that captures all of your project’s requirements. django-deployer then uses this deploy.yml file to translate these requirements into specific configurations for each PaaS.

See the roadmap below for adding support for more providers: Heroku, OpenShift, Elastic Beanstalk and Gondor.

Getting Started

To install django-deployer, use pip to fetch the package from PyPi:

$ pip install django-deployer

From your project’s root directory:

$ deployer-init
$ fab setup
...

Now inspect your project directory and you will see that a file deploy.yml and various config files were created.

Note: if you’re going to try different PaaS providers, it’s recommended that you make a separate git branch for each one, because when you re-run fab setup it could inadvertently overwrite the config files from the first run.

Contribute

If you want to develop django-deployer, you can clone it and install it into your project’s virtualenv:

$ source bin/activate
(venv)$ git clone git://github.com/natea/django-deployer.git
(venv)$ cd django-deployer
(venv)$ python setup.py develop

Or you can also install an editable source version of it using pip:

$ source bin/activate
(venv)$ pip install -e git+git://github.com/natea/django-deployer.git#django-deployer

Which will clone the git repo into the src directory of your project’s virtualenv.

Changelog

  • 0.1.1 (26 Mar 2013) - Added support for Google App Engine (@littleq0903)

  • 0.1.0 (07 Sep 2012) - Initial version for Stackato and Dotcloud (@natea, @johnthedebs)

Roadmap

  • Add support for Heroku, OpenShift and Amazon Elastic Beanstalk

  • Perform some intelligent code analysis to better guess the settings (see the djangolint project - https://github.com/yumike/djangolint)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-deployer-0.1.1.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file django-deployer-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-deployer-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3c68e1baa7ccacbfdfdda453838e6853df3d974caab5c262c00a6b6571aafad4
MD5 6ea5d98ce9a9dfdd2c4c00e84eb1efbe
BLAKE2b-256 37b9691251dcdd34a91d63edb1097255ffe14d166a90ba22f398afaf8fb0e325

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page