2 Minutes To Your Own Planet
Heh! Please don’t mistake me for one of those LHC guys. No, I am not talking about planets as in heavenly bodies which reflect lights from the stars but have give out no light on their own. I am talking about planet as in a feed aggregator.
So, let’s get started up.
Then untar the file if you downloaded the tarball.
tar -xpvf planet-xx.tar.bz2
Now untar the planet tarball and install the planet files eg.
tar -xpvf ~/planet-2.0.tar.bz2 cd ~/planet-2.0 su ./setup.py install
Now we need to configure the config.ini file in fancy directory to get started quickly. If you wanto take your time
Look at the file, it’s nicely commented you should have no problem at all in configuring it to your tastes, believe me. It’s too easy.
I set my output directory as
output_dir = /var/www/localhost/htdocs/planet cp -R examples/output/* /var/www/localhost/htdocs/planet
This will place all the output files in the planet and the second command will copy the images folder and css file to the DocumentRoot so your page renders well.
Now to generate the output
./setup.py config && ./setup.py install crontab -e 0 * * * * /usr/bin/planet.py /home/user/planet-2.0/examples/fancy/config.ini
Now open up your web browser and point to localhost/planet. Of course you need a web server running on localhost to try this out.
To show your image, put it in /var/www/localhost/htdocs/planet/images
Happy journey. Enjoy the feeds on your own planet!