Difference between revisions of "Installing FGdb"

From FreekiWiki
Jump to navigation Jump to search
(thanks jeff)
(pointed to readme)
Line 1: Line 1:
=STOP=
+
please refer to http://svn.freegeek.org/projects/fgdb.rb/browser/trunk/doc/README
[[FGdb]] is in the middle of a big move, so these instructions may not work so well.  Please contact [[User:stillflame]] or [[User:rfs]] to find out how to use this software.
 
 
 
=Quick Guide=
 
[[User:stillflame]] is putting this here to help, though there will be a shortage of details.
 
 
 
start with an standard sarge install.
 
 
 
* Dependencies:
 
** php4
 
** apache
 
** postgresql
 
** smarty
 
** libphp-adodb
 
** php4-pgsql
 
* Fix adodb install_path
 
** echo 'include_path = ".:/usr/share/pear:/usr/share/php4:/usr/share/adodb:/usr/share:/usr/share/php"' >> /etc/php4/apache/php.ini
 
* Template compile directory
 
** mkdir /usr/share/php/smarty/lib*/compile
 
** chown www-data:www-data /usr/share/php/smarty/lib*/compile
 
* Install Source
 
** svn co http://svn.freegeek.org/svn/fgdb/trunk/ /var/www/fgdb
 
* Database
 
** createlang plpgsql template1
 
** create a passworded db user to do everything with, then a database to put things in
 
** put all the sql files from sql/ into a database, 1.0 first, schema first
 
** make sure the user can login with that password (pg_hba.conf)
 
* Config
 
** put conf/* into /etc/fgdb/
 
** modify to taste
 
  
 
[[Category: Coders]]
 
[[Category: Coders]]

Revision as of 12:01, 22 June 2007