[publican-list] RFC -- Menu subheadings for Publican-driven websites

Jeffrey Fearn jfearn at redhat.com
Thu May 20 08:08:33 UTC 2010


FYI I am working on making the current label structure customizable, 
this requires some DB changes. If you are building from TRUNK and using 
the website code, you will need to update your databases BEFORE updating 
from trunk.

1: Add the new columns to the DB

$ sqlite3 <path to the>.db
sqlite> ALTER TABLE main.books ADD COLUMN product_label text(255);
sqlite> ALTER TABLE main.books ADD COLUMN version_label text(255);
sqlite> ALTER TABLE main.books ADD COLUMN name_label text(255);
sqlite> .quit


2: Rebuild and install a new Publican from trunk

3: Update your site

$ publican update_site --site_config <path to the>.cfg

Cheers, Jeff.

-- 
Jeff Fearn <jfearn at redhat.com>
Software Engineer
Engineering Operations
Red Hat, Inc
Freedom ... courage ... Commitment ... ACCOUNTABILITY




More information about the publican-list mailing list