Just a little quick note.
Diazo, the super cool theming system used by Plone, have 2 WSGI middlewares which will turn it into some sort of theming proxy for any existing sites.However, that feature and the steps to use it is not quite documented anywhere.
Then I saw dv.xdvserver in PyPi. Using the sample paster config file from there, here is a little guide on how to use it.
Deploying
I have uploaded my buildout to github kagesenshi/diazoserver. To deploy, just follow these steps:
The steps above will pull and install diazo and its dependencies into the buildout.
Configuring
Copy
Edit the
Starting up the server
Just run this command to start the server:
Thats it, Happy hacking~!
Diazo, the super cool theming system used by Plone, have 2 WSGI middlewares which will turn it into some sort of theming proxy for any existing sites.
Then I saw dv.xdvserver in PyPi. Using the sample paster config file from there, here is a little guide on how to use it.
Deploying
I have uploaded my buildout to github kagesenshi/diazoserver. To deploy, just follow these steps:
got clone git://github.com/kagesenshi/diazoserver.git
cd diazoserver
python2.6 bootstrap.py
./bin/buildout -vv
The steps above will pull and install diazo and its dependencies into the buildout.
Configuring
Copy
diazo.ini-sample
as diazo.ini
. Change the address http://www.example.com/
to address of your app. Take note that the Paster proxy might not work if the backend site is compressed.Edit the
static/rules.xml
file and static/index.html
file as you wish. For full documentation on how to utilize them, visit the diazo documentationStarting up the server
Just run this command to start the server:
./bin/paster server diazo.ini
Thats it, Happy hacking~!