NIHVIVO-15 Merge three configuration properties files into one. Create ConfigProperties as a central mechanism for reading configuration properties.
This commit is contained in:
parent
863992f4ce
commit
a874f4b88a
21 changed files with 382 additions and 585 deletions
48
webapp/config/example.deploy.properties
Normal file
48
webapp/config/example.deploy.properties
Normal file
|
@ -0,0 +1,48 @@
|
|||
# -----------------------------------------------------------------------------
|
||||
#
|
||||
# VIVO deployment properties
|
||||
#
|
||||
# This file is provided as example.deploy.properties.
|
||||
#
|
||||
# Save a copy of this file as deploy.properties, and edit the properties as
|
||||
# needed for your deployment.
|
||||
#
|
||||
# -----------------------------------------------------------------------------
|
||||
|
||||
#
|
||||
# The location where the VIVO application will store uploaded files
|
||||
# (usually images). You should arrange for these files to be backed up in some
|
||||
# way.
|
||||
#
|
||||
UploadImagesServlet.sourceDirName = /usr/local/vivo/data/uploads
|
||||
|
||||
#
|
||||
# The location where the VIVO application will create its Lucene search
|
||||
# index.
|
||||
#
|
||||
LuceneSetup.indexDir = /usr/local/vivo/data/luceneIndex
|
||||
|
||||
#
|
||||
# This namespace will be used when generating URIs for objects created in the
|
||||
# editor. Change it to reflect your own domain. For example, Cornell's
|
||||
# namespace is http://vivo.cornell.edu/individual/
|
||||
#
|
||||
# Note: it is essential that this namespace end with a trailing slash.
|
||||
#
|
||||
Vitro.defaultNamespace = http://vitro.mydomain.edu/individual/
|
||||
|
||||
#
|
||||
# SMTP host which the "Contact Us" form can use to send mail. If this is left
|
||||
# empty, the "Contact Us" form will be disabled.
|
||||
#
|
||||
#Vitro.smtpHost =
|
||||
|
||||
#
|
||||
# The basic parameters for a MySQL database connection. Change the end of the
|
||||
# URL to reflect your database name (if it is not "vitro"). Change the username
|
||||
# and password to match the authorized user you created in MySQL.
|
||||
#
|
||||
VitroConnection.DataSource.url = jdbc:mysql://localhost/vitro
|
||||
VitroConnection.DataSource.username = vitroweb
|
||||
VitroConnection.DataSource.password = vitrovitro
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue