Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Example django project that shows how to use Lettuce with Hudson and Fabric (BDD, continuous integration and continuous deployment)

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 school
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.rst
Octocat-spinner-32 __init__.py
Octocat-spinner-32 fabfile.py
Octocat-spinner-32 manage.py
Octocat-spinner-32 settings.py
Octocat-spinner-32 terrain.py
Octocat-spinner-32 urls.py
README.rst

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 :)

Something went wrong with that request. Please try again.