WorkshopDayTwo > Webapp Configuration
This page lists the various files needed to correctly configure an InterMine web application.
- Properties file
- Example: ~/.intermine/malariamine.properties
- Sets the databases the web application will access
- Sets the following parameters:
- URL of the web application
- project title and subtitle
- version (appears next to the logo in the header of the website)
- super user account
- email recipient of feedback form
- ClassKeys
- Example: malariamine/dbmodel/resources/class_keys.properties
- Specifies keys for classes in the data model
- Fields specified in this file will be links in the results table in the webapp
- Only objects with key fields defined can be saved in lists
- ObjectStoreSummaryProperties
- Example: malariamine/dbmodel/resources/objectstoresummary.config.properties
- Configure fields to appear as a dropdown in forms and inclusion in autocompletion index
- The database is summarised in a post-processes called summarise-objectstore and create-autocomplete-index. If you update this file, re-run the post-processes and re-release your webapp.
- WebProperties
- Example: malariamine/webapp/resources/web.properties
- Configures some functionality in the webapp:
- links to external sites
- list upload example
- quick search examples
- WebConfigModel
- Example: malariamine/webapp/resources/webapp/WEB-INF/webconfig-model.xml
- This file configures the following:
- Which fields are displayed on the results tables, inline collections, and in the QueryBuilder
- Custom data displayers
- Exporters
- Widgets
Back: WorkshopDayTwo
