How to run WSF/Python Stock Trader Web Application -------------------------------------------------- * Still work only on Linux 1. Prerequisites 1.1 WSFC SVN: http://wso2.org/repos/wso2/trunk/wsf/c/ http://wso2.org/projects/wsf/c 1.2 WSF/Python SVN: http://svn.wso2.org/repos/wso2/branches/wsf/python/1.0.0alpha/wsf/python 1.2.1 Building and Installing WSF/Python extension. Use following command to build the extension. - python setup.py --with-wsfc={PATH TO WSFC HOME} build Use following command to install the extension. - sudo python setup.py --with-wsfc={PATH TO WSFC HOME} install 2. Configuring Web Application 2.1 Change the LOG_DIR, LOG_LEVEL variables in request_processor.py to point location and log level that you prefer. 2.2 Change the WSFC_HOME variable to point to WSFC installation directory. 2.3 Change the 'document_root' of the line (r'^site_media/(?P.*)$', 'django.views.static.serve', {'document_root': '/home/milinda/wso2/stock_trader/media'}) in urls.py to point to directory where stock_trader/media will reside. 3. Starting Django Test Server Execute python manage.py runserver while insde the stock_trader django application directory.