installation

by site administrator on 08 Aug 08 at 00:11 in documentation
Installation of evoke requires the following pre-installed (on a posix platform):

  • python2.4 or later
  • PIL with jpeg support
  • twisted
  • MySQLdb

Optionally, apache, or another webserver may be used to front-end the system and serve up flat content.

installing python

Compile python from source, so that the necessary header files are in place for PIL and twisted.

./configure
make
make altinstall

"altinstall" doesn't overwrite the existing python install

Once python is installed, find the python standard library site.py file, e.g. /usr/local/lib/python2.5/site.py and alter it to use utf8 encoding:
in def setencoding()
replace encoding = "ascii"
with encoding = "utf_8" .

installing PIL

Make sure the necessary libjpeg library and headers are installed - if not, install them from the jpeg-6b package, using:
./configure
make
make install-lib

install Imaging-1-1-6 or later :
python2.5 setup.py install

installing twisted

There are three parts to install, in this order:
  • zope.interface-3.3.0 or later
  • Twisted-2.1.0 or later
  • TwistedWeb-0.5.0 or later

Install all three, using
python setup.py build
python setup.py install

installing MySQLdb

  • install MySQL-python-1.2.1_p2 or later, using
    python setup.py build
    python setup.py install

installing evoke

1) installing base

?????

2) creating an app

  1. cd to base folder
  2. create_app <appname>
  3. follow the instructions given.

to reply to this, please login or register