Deploy Tools is a python package that harnesses Fabric to create a modular deployment system. Deploy Tools has a collection of modules that all operate in a similar way allow you to perform bulk operations on a variety of different areas of your infrastructure.
Deploy Tools is intended to be a very simple Chef or Puppet: capable of being quite flexible without the massive learning curve.
The core elements of Deploy Tools are:
There are two options for getting this project set up:
Henceforth, this document will assume it is a submodule in some larger project.
Ensure that your setting.py is configured. Look at settings.py.example for... an example.
From the command line simply run:
$ fab production bootstrap deploy stop start
There is no next step. Your server should now live and ready for action!
The command from step 2 will cause deploy_tools to do bootstrap within each module, refresh all respective code (deploy), stop all services then start all services (a.k.a restart).