gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] Bootstrapping for production -- omitting test data


From: James Busser
Subject: [Gnumed-devel] Bootstrapping for production -- omitting test data
Date: Sat, 25 Jul 2009 10:57:56 -0700 (PDT)

While I am not quite *yet* ready for production (maybe with client 0,6) I am 
slowly getting ready...

In order to keep out only the test data, it is seeming the following multiple 
steps are involved...

1) In file bootstrap-latest.conf
    comment-out (#)
        bootstrap-test_data.conf
    which is located between
        bootstrap-local_first.conf
        ...
        bootstrap-local_last.conf

2) In file bootstrap-monolithic_core.conf I am wondering how much to try to 
comment-out without disturbing the desirable or needed bits...I have drawn 
attention to all of the SQL files that seem to identify data but wonder whether 
among them it may be desirable to still keep some (the bundle [reference] but 
not the bundle [office])? And by the way I notice "office" data is represented 
twice, including in [database core], therefore both would need disabling, or 
would that break something?


[bundle config]
database alias = core
minimum postgresql version = 7.4
schema base directory = ../sql/
schema = $schema$
gmConfig-static.sql
gmConfigData.sql  <-- comment this out?
gmConfigViews.sql
$schema$

[bundle demographics]
database alias = core
minimum postgresql version = 7.4
schema base directory = ../sql/
schema = $schema$
gmDemographics.sql
gmProviderInbox-static.sql
gmDemographics-Person-views.sql
gmDemographics-Person-data.sql  <-- comment this out?
gmDemographics-GIS-views.sql
gmDemographics-GIS-data.sql  <-- comment this out?
gmCountryZones.sql
gmDemographics-Org-views.sql
gmDemographics-Grants.sql
gmProviderInbox-data.sql  <-- comment this out?
$schema$

[bundle clinical]
database alias = core
minimum postgresql version = 7.4
schema base directory = ../sql/
schema = $schema$
gmClin-EMR-Structure-static.sql
gmclinical.sql
gmClin-Vaccination-static.sql
gmWaitingList.sql
gmReviewedStatus-static.sql
gmReviewedStatus-dynamic.sql
gmMeasurements.sql
gmClin-EMR-Structure-dynamic.sql
gmClin-Vaccination-dynamic.sql
gmClinicalViews.sql
gmClin-EMR-Structure-data.sql  <-- comment out or KEEP?
gmClinicalData.sql  <-- comment this out?
gmClin-Vaccination-data.sql  <-- comment this out?
gmUnmatchedData-static.sql  <-- comment this out?
gmUnmatchedData-dynamic.sql  <-- comment this out?
gmUnmatchableData-static.sql  <-- comment this out?
gmUnmatchableData-dynamic.sql  <-- comment this out?
$schema$

[bundle documents]
database alias = core
minimum postgresql version = 7.4
schema base directory = ../sql/
schema = $schema$
gmBlobs.sql
gmBlobsData.sql  <-- comment this out?
gmBlobViews.sql
gmProviderInbox-dynamic.sql
$schema$

[bundle reference]
database alias = core
minimum postgresql version = 7.4
schema base directory = ../sql/
schema = $schema$
gmReference.sql
gmReference-dynamic.sql
gmReference-data.sql  <------------------------ comment out or KEEP?
$schema$

[bundle office]
database alias = core
minimum postgresql version = 7.4
schema base directory = ../sql/
schema = $schema$
gmoffice.sql
gmOfficeData.sql  <-- comment this out?
gmConcatTableStructureFutureStub.sql
$schema$

#----------------------------------
[database core]
name = gnumed_v2
override name by = GM_CORE_DB
drop target database = 1
template database = template1
server alias = local host
notification disable = 1
audit disable = 0
audit trail parent table = audit.audit_trail
audit trail table prefix = log_
audit fields table = audit.audit_fields
schema base directory = ../sql/
schema = $schema$
gmoffice.sql
gmOfficeData.sql  <-------------------------- comment this out?
gmConcatTableStructureFutureStub.sql
$schema$

#----------------------------------
[database core]
name = gnumed_v2
override name by = GM_CORE_DB
drop target database = 1
template database = template1
server alias = local host
notification disable = 1
audit disable = 0
audit trail parent table = audit.audit_trail
audit trail table prefix = log_
audit fields table = audit.audit_fields
schema base directory = ../sql/
schema = $schema$
gmSchemaRevision.sql
gmSchemaRevisionViews.sql
gmServices.sql
gmI18N.sql
gmI18N-dynamic.sql
gmAudit.sql
gmAudit-dynamic.sql
gmNotifications-static.sql
gmNotifications-dynamic.sql
gmHousekeeping.sql
$schema$

superuser schema = $superuser schema$
gmCreateProceduralLanguages.sql
gmCreateUserFunction.sql
gmPublicAccounts.sql
gmTestAccounts.sql
$superuser schema$





reply via email to

[Prev in Thread] Current Thread [Next in Thread]