Difference between revisions of "Archive:Website documentation"

From FreeCulture.org
Jump to: navigation, search
(First docs)
 
(Configuration)
Line 14: Line 14:
  
 
== Configuration ==
 
== Configuration ==
It's in ~/planet-prog/examples/fancy/config.ini .  It's pretty self-explanatory.
+
It's in ~/planet-prog/examples/fancy/config.ini .  Add RSS feeds here.
 +
 
 +
Add people's mini-photos in ~/public_html/planet/images/ and adjust the config.ini as appropriate.
 +
 
 
== Upgrading "planet" ==
 
== Upgrading "planet" ==
 
You could try upgrading it using "bzr".  I wouldn't try it without backing up ~/planet-prog/.  I expect it to clobber ~/planet-prog/examples/fancy/config.ini.
 
You could try upgrading it using "bzr".  I wouldn't try it without backing up ~/planet-prog/.  I expect it to clobber ~/planet-prog/examples/fancy/config.ini.

Revision as of 21:23, 9 June 2006

Cron

We use cron to run tasks every once in a while. To see the current list of jobs that run, do:

crontab -l

To edit them:

crontab -e

To see what the file format is, read this reference.

Planet

The planet program lives in ~/planet-prog/. It outputs to ~/public_html/planet/ via an every-30m cron job.

Configuration

It's in ~/planet-prog/examples/fancy/config.ini . Add RSS feeds here.

Add people's mini-photos in ~/public_html/planet/images/ and adjust the config.ini as appropriate.

Upgrading "planet"

You could try upgrading it using "bzr". I wouldn't try it without backing up ~/planet-prog/. I expect it to clobber ~/planet-prog/examples/fancy/config.ini.