Marionet is a portlet that operates with a remote web app – it is a web proxy portlet like WebProxyPortlet, portletbridges and html2jsr286. It is written in Python for Django.
Python 2.6 and Django 1.2 should be installed to the system. Older versions of Django need modifications to test/settings.py
. Python 2.5 or older do not currently work.
Install the lamikae fork of django-portlets:
make portlets
This downloads and updates the source from mercurial at bitbucket. For this you need to install the Mercurial client. The command creates a symlink ‘portlets’ to the project root directory. The easy_install
version will not work.
The test portal consists of one view. Start the server
make runserver
Navigate to localhost:8000/demo
A Rails ‘portlet test bench’ in port 3000 needs to be running @localhost while running the test suite. Get the ‘example’ Rails app from here or roll your own by following instructions here.
Install PyQt4 and BeautifulSoup for the XHR tests.
Use make test
to set the environment and run the test suite.
make test