From 6718f8063d8e73f220082261b1fb5aaf249b868d Mon Sep 17 00:00:00 2001 From: Magnus Hagander Date: Mon, 27 Oct 2008 11:34:15 +0000 Subject: [PATCH] Add simple installation instructions, from Selena. --- INSTALL.txt | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 INSTALL.txt diff --git a/INSTALL.txt b/INSTALL.txt new file mode 100644 index 0000000..df05d75 --- /dev/null +++ b/INSTALL.txt @@ -0,0 +1,35 @@ +Welcome to Planet PostgreSQL! + +Author: Magnus Hagander + +== INSTALLATION == +Needed: +* Python +* PostgreSQL +* Psycopg2 - http://www.initd.org/pub/software/psycopg/PSYCOPG-2-0/ +* uTidy - http://utidylib.berlios.de/ + +== CONFIGURATION == + +* Copy planet.ini.sample to planet.ini and add your conninfo string +* Create database using schema.sql +* Adapt planet_run.sh to your needs +* Run planet_run.sh (probably from cron?) + +== PLATFORM SPECIFIC NOTES == + +* MAC OS X +Patch to fix libtidy: + +--- uTidylib-0.2/tidy/lib.py 2008-10-24 08:46:32.000000000 -0700 ++++ uTidylib-0.2.1/tidy/lib.py 2008-10-24 08:47:18.000000000 -0700 +@@ -23,7 +23,7 @@ + thelib=None + os.environ['PATH'] = "%s%s%s" % (packagedir, os.pathsep, os.environ['PATH']) + for libname in ('cygtidy-0-99-0', 'libtidy', 'libtidy.so', +- 'libtidy-0.99.so.0', 'tidylib'): ++ 'libtidy-0.99.so.0', 'tidylib', 'libtidy.dynlib'): + try: + thelib = getattr(ctypes.cdll, libname) + break + -- 2.39.5