Tutorial InstallationΒΆ

  1. Make a virtualenv, source the environment, and install BFG with ZODB:

    $ path-to-your-python/bin/virtualenv --no-site-packages t3
    New python executable in t3/bin/python2.5
    Also creating executable in t3/bin/python
    Installing setuptools............done.
    bash-3.2$ cd t3
    bash-3.2$ source bin/activate
    
  2. Install lxml using a private copy of libxml2/libxslt:

    (t3)bash-3.2$ STATIC_DEPS=true easy_install lxml
    
  3. Install BFG:

    (t3)bash-3.2$ easy_install -i http://dist.repoze.org/lemonade/dev/simple repoze.bfg
    
  4. Use paster to make a new BFG-ZODB project:

    (t3)bash-3.2$ paster create -t bfg_zodb t3
    (t3)bash-3.2$ cd t3
    (t3)bash-3.2$ python setup.py develop
    
  5. Add a couple more dependencies:

    (t3)bash-3.2$ easy_install FormEncode
    (t3)bash-3.2$ easy_install nose
    (t3)bash-3.2$ easy_install -i http://dist.repoze.org/lemonade/dev/simple repoze.folder
    

Previous topic

KARL3 Forms Background

Next topic

Simple Validation

This Page