From be1344e10c19af69397c9d124b1f516828e83c0a Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Thu, 20 Oct 2022 23:23:00 -0400 Subject: [PATCH] Update database connection information --- site.cfg | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/site.cfg b/site.cfg index 474766b..faff6f3 100644 --- a/site.cfg +++ b/site.cfg @@ -2,9 +2,9 @@ # with the database. # dbi:: [DBI] -driver: dbi:SQLite:hpr.db -user: -password: +driver: dbi:mysql:database=hpr_hpr:hostname=localhost +user: hpr-generator +password: zBozqN-Z2zNAz # Configure the root template page which pulls in the navigation and # content templates used by each page. An optional baseurl property may @@ -13,6 +13,8 @@ password: [root_template] content: page.tpl.html #baseurl: OPTIONAL [i.e. file://] +baseurl: file:///home/roan/Development/hpr/website/hpr_generator/public_html/ +media_baseurl: https://archive.org/download/hpr$eps_id/ # Configure the navigation menu and the content templates for each page # of the site: @@ -137,6 +139,7 @@ navigation: navigation-get-shows.tpl.html content: content-twat_episode.tpl.html multipage: true filename: eps/twat[id]/index.html +media_baseurl: https://www.hackerpublicradio.org/eps/ [mumble-howto] navigation: navigation-about.tpl.html