Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (22 sloc) 1.41 KB

Continuous integration and deployment with Lettuce, Fabric and Hudson

A simple Django project wich aims show how to use CI, DI and BDD together.

The toolbox contains:

  1. Django, a powerful web framework for Python;
  2. Lettuce, a BDD framework for Python, inspired by Cucumber;
  3. Fabric, a Python tool for building and deploying applications;
  4. Hudson, a simple, powerful and extensible continuous integration server;
  5. Selenium, an amazing tool for tests.

Dependencies

To use this project, you need to install the following tools: Fabric, Django, PyCrypto, Nose, NoseDjango, should-dsl, Selenium, lxml and Lettuce.

You can install some of this stuffs with just a simple command:

$ [sudo] pip install fabric pycrypto django nose nosedjango lettuce should-dsl lxml

That will work only if you use PIP. If you don't use PIP (or setuptools), then you will need to install everything manually. So, good luck :)

Selenium

I used Selenium with WebDriver, so you need to checkout the Selenium source and build it manually, with the following commands:

$ svn checkout http://selenium.googlecode.com/svn/trunk/ selenium
$ cd selenium
$ [sudo] python setup.py install

And it works fine :)