Revision 22 -
(download)
(annotate)
Sun Aug 24 15:19:21 2008 UTC
(2 years ago)
by occam File size: 801 byte(s)
- clean up code
- add comments
Requirements:
- cherrypy >= 3.0
- Ice >=3.2.1
- IcePy >= 3.2.1
- sqlalchemie >=0.4
- Cheetah >= 2.0 (for testing, only used in the web-apps)
- clearsilver >= 0.10.5 (for testing, only used in the web-apps)
Getting things running
- Setup a MySQL DB with the DB.sql data
- Set DB settings in lib/malandro/db/__init__.py
- Load the ICE Env
[..]
declare -x DYLD_BIND_AT_LAUNCH="1"
declare -x DYLD_LIBRARY_PATH="/usr/local/Ice-3.2/lib/"
declare -x ICEPY_HOME="/usr/local/IcePy-3.2.1"
declare -x ICE_HOME="/usr/local/Ice-3.2/"
declare -x PYTHONPATH="/usr/local/IcePy-3.2.1/python:"
[..]
- start the ice server from the main dir
# python2.4 ./bin/ice_server.py
- Edit conf/httpd.conf
- load the ice env again in a second shell
- start cherrypy from the main dir
# python2.4 ./bin/malandro_start.py