From d789c8e1b074138934a8b7b8a203ec3eab2ff522 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Fri, 3 Mar 2023 22:27:41 -0500 Subject: [PATCH] Update database configuration instructions Make sure to include both SQLite and MySQL configuration options. --- site.cfg | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/site.cfg b/site.cfg index fc132e9..8131b04 100644 --- a/site.cfg +++ b/site.cfg @@ -2,10 +2,15 @@ # with the database. # dbi:: [DBI] -database: mysql -driver: dbi:mysql:database=hpr_hpr:hostname=localhost -user: hpr-generator -password: zBozqN-Z2zNAz +# Configuration for SQLite (uncomment following settings) +#driver: dbi:SQLite:hpr.db +#user: (unused -- leave blank) +#password: (unused -- leave blank) +# Configuration for MySQL (uncomment and update following settings) +#database: mysql +#driver: dbi:mysql:database=hpr_hpr:hostname=localhost +#user: hpr-generator (suggested user with read only permissions) +#password: ********* (password created for user) # Configure the root template page which pulls in the navigation and # content templates used by each page. An optional baseurl property may