Installing Planet

From Dev411: The Code Wiki

Planet (http://www.planetplanet.org) is a very easy to install blog aggregator. In fact, there's no real install to speak of since you just untar it into place. The directions are very straight-forward except for the part that mentions cron. The INSTALL file says:

Run it: planet.py pathto/config.ini

You'll want to add this to cron, make sure you run it from the
right directory.

To add this to cron, I needed to create a shell script that would change to the relevant directory before running planet.py. I'm currently using the following where my config.ini and index.html.tmpl are in the /home/planet/planetmvc directory.

#!/bin/sh
cd /home/planet/planetmvc;
/usr/local/bin/python ../planet.py config.ini

If I cd to the planet directory and execute planet.py planetmvc/config.ini I get the following fatal error:

planet.htmltmpl.TemplateError: Htmltmpl error: \
IO error while reading template 'index.html.tmpl': \
(2) No such file or directory

Futher Reading