Centric CRM Sample Data Installer; build: @BUILD.NUMBER@; @BUILD.DATE@
$Id: README.txt 15744 2007-04-11 21:40:35 -0400 (Wed, 11 Apr 2007) matt $

Centric CRM Sample Data Installer for Centric CRM 4.1

----------------------------------------------------------------------------
| LEGAL                                                                    |
----------------------------------------------------------------------------

This software is licensed under the Centric Public License (CPL).  
You should have received a copy of the CPL with this source code package in
the LICENSE file. If you did not receive a copy of the CPL, you may download
it from http://www.centriccrm.com. Compiling or using this software
signifies your acceptance of the Centric Public License.

Copyright(c) 2006 Dark Horse Ventures LLC (http://www.centriccrm.com/) All
rights reserved. This material cannot be distributed without written
permission from Dark Horse Ventures LLC. Permission to use, copy, and modify
this material for internal use is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies. DARK HORSE
VENTURES LLC MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EXPRESS OR
IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR ANY PARTICULAR
PURPOSE, AND THE WARRANTY AGAINST INFRINGEMENT OF PATENTS OR OTHER
INTELLECTUAL PROPERTY RIGHTS. THE SOFTWARE IS PROVIDED "AS IS", AND IN NO
EVENT SHALL DARK HORSE VENTURES LLC OR ANY OF ITS AFFILIATES BE LIABLE FOR
ANY DAMAGES, INCLUDING ANY LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL
DAMAGES RELATING TO THE SOFTWARE.


----------------------------------------------------------------------------
| INTRODUCTION                                                             |
----------------------------------------------------------------------------

The included script uses libraries from Centric CRM to programmatically
install sample CRM data, based on today's date.

A new user will be created in the destination CRM database, then additional
users and data will be created hierarchically.

This script is used by the Centric CRM Demo Server and undergoes revisions
prior to the release of a new version of Centric CRM.  The data isn't
exhaustive (yet).

Make changes to DemoData.java in the source code repository:
https://svn.centricsuite.com/webapp/branches/branch-41/src/java/org/aspcfs/modules/service/base/DemoData.java


----------------------------------------------------------------------------
| REQUIREMENTS                                                             |
----------------------------------------------------------------------------

1. You must have Sun or IBM Java installed and the "java" command must be in
the current path.

To verify type:

% java -version

java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)

2. You must have Centric CRM already installed with a working database.

----------------------------------------------------------------------------
| INSTRUCTIONS                                                             |
----------------------------------------------------------------------------

To review the command usage, use the following command:

% sh demoDataInstaller.bsh

To add data to an existing PostgreSQL install, you can use the following:

% demoDataInstaller.bsh postgresql centric_crm postgres

This will add data to a postgresql database named "centric_crm" and
connecting to the database as the "postgres" user without a password.



