Tuesday, September 10, 2013

Command Line Interface to Bitbucket.org

"bitbucketcli" Command Line Interface to Bitbucket.org

"bitbucketcli" is command line tool written in Python-Cliff

Installation:


cd bitbucketcli

python setup.py install

or 

pip install bitbucketcli

Usage:

bitbucket --help

bitbucket help command

Ex: bitbucket help repo create

Example Commands:



Download Source

Sunday, September 8, 2013

Puppet Module to Deploy Django Application

Puppet Module to Deploy Django Application:

Github Link:

This is the module to deploy django application using git or svn repo & mysql or sqlite database.

Steps:
  • Setup Variables in params.pp file according to your requirements.
  • Copy - Paste your requirements.txt in templates/requirements.txt.erb
  • This script supports mysql & sqlite database setup. [Currently no postgresql supported]
  • This script supports git or svn repo checkout for application code.
  • Example usage given in init.pp