Skip to content

Configuration and plugins

TApicella edited this page Sep 10, 2013 · 2 revisions

Configuration

The default data source setting for Metridoc-RID is to use an in-memory H2 database. However, using an alternative database such as a local MySQL database can be setup by altering the MetridocConfig file. Navigate to ~/.metridoc and edit MetridocConfig.groovy with any alternative configuration settings, and these new settings with override those defined in the project's build config.

Plugins

Metridoc-RID utilizes a number of plugins declared in the Metridoc Core plugin. Here are descriptions of the key plugins:

Twitter Bootstrap: This plugin provides a large variety of Javascript and CSS styling features for rendering web pages.

Font Awesome: This plugin is designed to work with Bootstrap, and contains a large selection of icons to enhance web page design.

Resources: The resources plugin allows developers to add modules to conf/MetridocCoreResources. These modules contain dependencies for the GSP files and automatically add the referenced files to the GSP files with the same controller name as the module.

Shiro Security: The primary security plugin for Metridoc.

Clone this wiki locally