Please login or register to participate.
Discussion
.
octavio Nov 08, 2009 06:17 PM
How can I start a new Cyn.in once I have finished making the buildout process?
Replies (5)
dhiraj Nov 09, 2009 01:31 AM
Hmm... our current buildout setup documentation concentrates a bit heavily on getting the preparation for the buildout, and not too much on what to do after it's completed. Need to work on it a bit. Soon.

For your question, the answer is simple:

Supposed you're sitting in your buildout home folder, the one with the buildout.cfg file, the command to run cyn.in instance in foreground (debug) mode is:

./bin/instance fg


To run in daemon mode (production) you can run the instance using ./bin/instance start instead of above, and it will run in the background.

By default, the zope instance will start up at port 8080 and then you can make a new plone site as normal. Once the plone site is ready, you have to go to portal_quickinstaller and install one-and-only-one product, ubify.policy.
Ignore all the other products (unless of course, you know what they do), they're all for either extra, unnecessary-to-core functionality or present for safe and easy migration from legacy Data.fs files (Cyn.in 2.0.x and earlier).

Once your instance is up and running with your newly installed cyn.in site (as above by installing ubify.policy), you're supposed to set up a standard reverse proxy such that VirtualHostMonster object in zope root rewrites URLs to any hostname of your choice at /. We usually recommend Apache 2.2 as the reverse proxy because we find it to be the most dependable and versatile option.

Let me know if you need me to dive down into specific detail into any of above points.
octavio Nov 09, 2009 03:34 AM
Yes, please make this more specific:

I have reached the ubify.policy install, but I can't get the "reverse proxy" step. I am using Apache2 in my server (Debian Lenny) but i don't get how to "view" my site.

Thanks for the atention.
dhiraj Nov 09, 2009 02:07 PM
Ok, will document our specializations of the reverse proxy soon.

Till then, consider going through WebLion's excellent article on the same topic:
https://weblion.psu.edu/trac/weblion/wiki/ProxyApacheToZope

Most of the stuff in that applies, we just have some specific magic for letting audio/video files play while downloading which I'll include when I document our how-to on this topic.
octavio Nov 09, 2009 04:00 PM
Great! Thanks. Now I have my Cyn.in working. Now I am fighting with apache and mod_rewrite, but this is a "minor fight". Thanks again.
dhiraj Nov 10, 2009 09:56 PM
Try having a look at the config file we put in /etc/apache/conf.d in the ISO CD. VirtualBox helps in this if you don't have a spare computer around.
 
Loading