What's new? | Help | Directory | Sign in
Google
bungeni-portal
Bungeni is a suite of applications that provide a solution for drafting, managing, consolidating and publishing legislative and other parliamentary documents.
  
  
  
  
    
Search
for
Updated Jul 08, 2008 by ashok.hariharan
Labels: Featured
InstallingBungeni  
How to install a development instance of Bungeni

Pre-requisites

Setup

Note: the python setuptools package (a python egg) is used by buildout, if you have an older version of setuptools, you might need to update it manually first (from http://cheeseshop.python.org/pypi/setuptools/) in the python used for zope. Update instructions at: http://peak.telecommunity.com/DevCenter/EasyInstall#installation-instructions

If you dont have setuptools installed, buildout downloads and installs it automatically.

In order to install it, use buildout. These steps should be all you need to setup a Zope instance with all the required products and libraries:

$ svn co https://bungeni-portal.googlecode.com/svn/bungeni.buildout/trunk/ --username <username>
bungeni
$ cd bungeni
$ python bootstrap.py # not the system python! The one you use with Zope, i.e. 2.4.x. 
$ ./bin/buildout  # wait a while..
$ ./bin/setup-database # this will setup the postgres db
$ ./bin/paster serve debug.ini # this will launch the server in debug mode...

On a Mac, you may need to increase shmmax value to get postgresql up and running.

The buildout includes DeadlockDebugger, so if you start Zope in debug mode, it will stop at a debugger prompt if an exception is raised.

Also see ConfiguringBungeni.


Comment by jean.jordaan, Oct 12, 2007

You shouldn't have to install setuptools. The first thing that bootstrap.py does, is to run ez_setup.py, which installs setuptools.

Comment by ashok.hariharan, Oct 13, 2007

Ah... I see. My python installation had an older version of setuptools (.2c) and buildout exited by telling me to update my setuptools version manually. I will update the text...


Sign in to add a comment