Network installation/Older instructions
From ECHSA Congenital Database
Jump to navigationJump to searchGeneral installation information
Network instalation of Data Collection Software requires four steps to perform.
- Download and run the latest version of the DataCollectionSoftware. When a dialog appears type in your hospital code and choose the default database path.
- Download and apply the SQL scripts to create necessary database objects and fill the dictionary tables.
- Download and install the JDBC driver:
- system-wide instalation -- copy the driver jar file into the lib/ext subdirectory of your Java JRE directory
- local instalation -- copy the driver
jar
file and DataCollectionSoftware-7.x.jar into some directory and prepare shortcut or shell script with command:
java -cp driver_file_name.jar;DataCollectionSoftware-7.x.jar pl.magnum2.ecdbc.Ecdbc
or under MS Windows:javaw -cp driver_file_name.jar;DataCollectionSoftware-7.x.jar pl.magnum2.ecdbc.Ecdbc
- Go to the software preferences directory
.EactsCongenitalDatabase
located in the user home directory (please note the dot character at the beginning of the directory name). Edit theecdbc.properties
file and set two variables:dbdriver
anddburl
. The user name and the password are to be set inside thedburl
variable.
Steps 2-4 are database system specific. Look below for details.
Information specific to particular database system
PostgreSQL
- SQL scripts:
- attachment:pgsql_struct.sql
- attachment:pgsql_dict.sql
- JDBC driver
dbdriver
anddburl
values (replaceuser_name
andusers_password
with values corresponding to your database server configuration)
dbdriver=org.postgresql.Driver dburl=jdbc:postgresql://host_name/database_name?user=user_name&password=users_password