Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

vudo

tree: 5e9780211f

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.txt
Purple App
==========

For detailed info about this project view purple.app/README.txt

Installation
------------

**Note**
  This is very crude right now.

Setup Work Dir
~~~~~~~~~~~~~~

- create a directory to work (~/co/purople)
- we will install all necessary packages into this virtual environment.

  $ mkdir ~/co
  $ cd ~/co
  $ mkdir purple
  $ cd purple


Install/Setup VirtualEnv
~~~~~~~~~~~~~~~~~~~~~~~~

  $ sudo easy_install-2.5 virtualenv
  $ virtualenv .   # be sure to use a virtualenv easy_installed with python2.5
  $ . bin/activate # it's (dot) (blank) bin/activate !!


Get Vudo and Purple
~~~~~~~~~~~~~~~~~~~

  $ cd ~/co/purple
  $ git clone git+ssh://username@repo.or.cz/srv/git/voodoo.git vudo.git
  $ git clone git@github.com:reco/purple.git purple


Install LXML
~~~~~~~~~~~~

  THIS NEEDS TO BE DONE IN THE SAME VIRTUALENV AS ABOVE

- comment all entries in remove all lines ~/co/purple/lib/python2.5/distutils/distutils.cfg

  $ cd ~/co/purple
  $ wget http://pypi.python.org/packages/source/s/staticlxml/staticlxml-0.1.2.tar.gz#md5=77275ce07804ed078f94b493b18267d8
  $ tar xfvz staticlxml-0.1.2.tar.gz
  $ cd staticlxml-0.1.2
  $ python2.5 setup.py build install

- this might take a while


Install Dependencies
~~~~~~~~~~~~~~~~~~~~

   THIS NEEDS TO BE DONE IN THE SAME VIRTUALENV AS ABOVE

There's a ``purple_deps_install.sh``, which needs to be executed to
fetch all the dependencies. ::

  $ cp ~/co/purple/purple/purple_deps_install.sh ~/co/purple/purple_deps_install.sh
  $ cd cp ~/co/purple
  $ sh purple_deps_install.sh

Watch out for dependecy errors and resolve them manually if needed (should not
happen).


*** Errors: 

install script gets stuck while installinig vudo.cmf it url to repoze.bfg.httprequest seems to be wrong (http://dist.repoze.org/lemonade/dev/simple/repoze.bfg.httprequest/)
Error: http://paste.pocoo.org/show/92546/

installed all the stuff manually from pypi
got no other error.

Could not start Error: http://paste.pocoo.org/show/92547/

*** 


Run The Beast
~~~~~~~~~~~~~

   THIS NEEDS TO BE DONE IN THE SAME VIRTUALENV AS ABOVE

Run it::

  $ cd ~/co/purple/purple/purple.app
  $ mkdir var
  $ paster serve debug.ini


Credits
-------

Malthe Borch <mborch@gmail.com>
Stefan Eletzhofer <stefan.eletzhofer@inquant.de>
Christof Haemmerle <reco@nex9.com>
Something went wrong with that request. Please try again.