Changes between Version 2 and Version 3 of Installation


Ignore:
Timestamp:
Jun 29, 2011, 11:12:20 AM (8 years ago)
Author:
robert@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Installation

    v2 v3  
    3535where [environment] will be the environment the war has been created for. Normally this will be 'prod'. If you have created your own package, the environment name might be different.
    3636
    37 The file might look like the following
    38 {{{
    39 # server URL
    40 grails.serverURL=http://massSequencing.dbnp.org
    41 
    42 # DATABASE
    43 dataSource.driverClassName=org.postgresql.Driver
    44 dataSource.dialect=org.hibernate.dialect.PostgreSQLDialect
    45 dataSource.url=jdbc:postgresql://localhost:5432/metagenomics-test
    46 dataSource.dbCreate=update
    47 dataSource.username=metagenomics
    48 dataSource.password=dbnp
    49 #dataSource.logSql=true
    50 
    51 # GSCF configuration - in order to synchronize correctly
    52 gscf.baseURL=http://studies.dbnp.org
    53 massSequencing.consumerID=http://metagenomics.dbnp.org
    54 massSequencing.synchronization = true
    55 
    56 # File uploads
    57 massSequencing.fileUploadDir=/tmp/metagenomics/temp
    58 massSequencing.fileDir=/tmp/metagenomics/permanent
    59 
    60 # Filename of the (.fna, .qual and .oligos) files that are exported
    61 massSequencing.exportFilename=1.TCA.454Reads
    62 }}}
    63 The different options you can set are:
    64 
    65 '''grails.serverURL'''::
    66   The url where this module is placed on. Don't add a trailing /
    67 '''database.*'''::
    68   Datasource configuration. See http://grails.org/doc/latest/guide/3.%20Configuration.html#3.3%20The%20DataSource
    69 '''gscf.baseURL''':
    70   Base URL of GSCF instance. Don't add a trailing /
    71 '''massSequencing.consumerID'''::
    72   Consumer ID describing this module. This is used for synchronization with GSCF. Set to the same value as '''grails.serverURL''', unless you know what you're doing.
    73 '''massSequencing.synchronization'''::
    74   If set to true, the module will synchronize its studies with GSCF. If set to false, this module won't communicate with GSCF for synchronization (only for authorization). However, if set to false, you won't be able to add any data to the system. So use it only if you know what you're doing.
    75 '''massSequencing.fileUploadDir'''::
    76   Directory where uploaded files will be permanently stored. This is used for sequence files, quality files etc. that have been associated with a sample. If the directory is given relative (e.g. 'fileuploads/temp'), it is taken relative to the web-app directory. Otherwise, it should be given as an absolute path (e.g. '/home/user/sequences'). The directory should be writable by the webserver user
    77 '''massSequencing.fileDir'''::
    78   Directory where uploaded files will be temporarily stored. This directory is used to store files when they are just uploaded. Files in this directory will be deleted when they are older than ''massSequencing.fileUploadMaxAge''. If the directory is given relative (e.g. 'fileuploads/temp'), it is taken relative to the web-app directory. Otherwise, it should be given as an absolute path (e.g. '/home/user/sequences'). The directory should be writable by the webserver user
    79 '''massSequencing.fileUploadMaxAge'''::
    80   Maximum age that uploaded files should be kept on the server before deleting them. When a user uploads a file, but doesn't process the file (e.g. because he leaves the page beforehand or his computer crashes), the files remain in the upload directory. This mechanism ensures that the upload directory is cleaned after some time. The time is given in seconds.
     37See [wiki:Configuration] for more information about the configuration.