/* ***************************************************************************

    The Mneme Project
    http://theMnemeProject.org/  http://nonprofit-crm.org/
    Copyright (C) 2009 - 2014  Eric Chadbourne
    eric.chadbourne@gmail.org
    
    A free constituent relationship management system for nonprofits.

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

*************************************************************************** */

i have only tested this application on ubuntu server with apache but it
should work fine on other linux or bsd distributions.  ms windows server 
is not tested or recommended.

install example on ubuntu server:

1.  create a new postgresql user, database, and php directory.

	example:
	
		CREATE USER foo WITH PASSWORD 'bar';
		CREATE DATABASE baz OWNER foo;
		
2.  in your web root upload tar and extract.

3.  optional:  in your webroot chmod recursively to apache user:

	chown -R www-data:www-data *

4.  run install.php
	
known issues:

1.  security not yet suitable for public facing web sites.  mneme is currently
	designed for use on a lan with trusted users.  consider using additional
	security such as ssl.
	
2.  you need to have permission to install pgcrypto or you will get the following error.

PHP Warning:  pg_query(): Query failed: ERROR:  permission denied to create extension 
"pgcrypto"\nHINT: Must be superuser to create this extension.

this can be resolved by installing pgcrypto and then running install.php again.
at postgresql sql prompt you can type:  CREATE EXTENSION pgcrypto;


/* *************************************************************************** */

thanks to the following:

savannah.nongnu.org (hosts our code and bug tracker)
ubuntu.com (used for our hosting servers)
postgresql.org (a great database)
php.net (server side scripting language)
httpd.apache.org (used for our hosting servers)

pchart.net  (used in module)
ckeditor  (used in module)
