Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Test

  1. python2.5
    Python 2.5.4 (r254 r254:67916, Aug 25 2009, 10:11:25)
    GCC 4.1.2 20080704 (Red Hat 4.1.2-44) on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>>

...

  1. ./configure --with-apxs=/usr/sbin/apxs --with-python=/usr/local/bin/python2.5
  2. make
  3. sudo make install

Configure Apache to use mod_wsgi
First we need to check if apache is loading mod_python, search the httpd configs in /etc/httpd/
recursively for the string "python_module". If this module is loaded, commented it out.
In the main httpd config file: /etc/httpd/httpd.conf, include the eas config file mad.htconf.

#vi /etc/httpd/conf/httpd.conf

scroll down to the bottom and enter the line:
Include /var/www/html/eas/mad.htconf

Links http://code.google.com/p/modwsgi/

...

DJANGO
------
Since this is pure python, you can copy this into the python site-packages.
Or install as you see fit.

  1. sudo python2.5 setup.py install

JOGGING
-------
Download Jogging v0.2.2 http://github.com/zain/jogging/zipball/v0.2.2
or
Http://github.com/zain/jogging/tarball/v0.2.2
in Windows: unzip file, copy the content folder called "jogging" to C:\Python25\Lib\site-packages or /usr/local/lib/python2.5/site-packages
in Linux: get gz file, unzip, untar, then run from jogging directory: $ python2.5 setup.py install

For the Change Notification process, the xmit_daemon.py script uses a system variable called MAD_HOME.
MAD_HOME is set by xmit_change_notifications.bsh; it must point to the path where the web application is deployed.
MAD_HOME is used to access the django settings.py.
This daemon process runs outside of the web server.