Skip to main content
Help us improve PyPI by participating in user testing. All experience levels needed!

A tool to deploy applications, and automate processing with fabric

Project description

https://secure.travis-ci.org/unistra/pydiploy.png?branch=master http://coveralls.io/repos/unistra/pydiploy/badge.png?branch=master

Pydiploy is a library used to deal with administration and deployment of applications on several environments (i.e : dev, test, pre-production, production) The library is based on fabric and fabtools. The purpose of the project is to deliver bunch of tools as generic as possible to standardize deployments and administrations tasks. To use it : create a fabfile (fabfile.py or fabfile/__init__.py) and start playing with your new toy !

Install

  • Requirements : python2.7, fabtools and fabric
  • Installation : pip install pydiploy

Usage

  • See the example in the doc to setup correctly a fabfile (fabric,fabtools and pydiploy should be installed)

  • Use following command to install/deploy an application in test stage :

    fab tag:master test pre_install deploy post_install
    
  • Use following command to install/deploy an application in production stage :

    fab tag:master prod pre_install deploy post_install
    
  • To deploy a new tag/release on production stage :

    fab tag:1.0.1 prod deploy
    
  • if something went wrong during deploy process you could rollback previous release :

    fab tag:master prod rollback
    
  • To deploy with arguments :

    fab tag:master test --set default_db_host='localhost',default_db_name='mydb',default_db_user='myuser',default_db_password='mypass' deploy
    
  • See fabric documentation for more infos : http://fabric.readthedocs.org

Tips

  • django+sqlite3 : if you use sqlite3 with django, don’t put your .db file in the same folder as your application. It will be erased for each deployement !

Project details


Release history Release notifications

History Node

1.1.7.6

History Node

1.1.7.5

History Node

1.1.7.4

History Node

1.1.7.3

History Node

1.1.7.2

History Node

1.1.7.1

History Node

1.1.7.0

History Node

1.1.6.0

History Node

1.1.5.0

History Node

1.1.4.3

History Node

1.1.4.2

History Node

1.1.4.1

History Node

1.1.4.0

History Node

1.1.3.0

History Node

1.1.2.0

History Node

1.1.1.0

History Node

1.1.0.0

History Node

1.0.3.0

This version
History Node

1.0.2.9

History Node

1.0.2.8

History Node

1.0.2.7

History Node

1.0.2.6

History Node

1.0.2.5

History Node

1.0.2.4

History Node

1.0.2.3

History Node

1.0.2.2

History Node

1.0.2.1

History Node

1.0.2

History Node

1.0.1

History Node

1.0.0

History Node

0.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pydiploy-1.0.2.9.tar.gz (22.5 kB) Copy SHA256 hash SHA256 Source None Sep 19, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page