Here we install sample data to work with and we create the skeleton of our module, the three empty directories:
  • queries - Holds SQL queries and views.
  • reports - Holds R reports.
  • views - Holds user interface files.

Set Up a Dev Machine

Complete the topics below. This will set up a machine that can build LabKey Server (and the proteomics tools) from source.

Install Sample Data

Create Directories

  • Go to the externalModules/ directory, and create the following directory structure and standard.modules file:

Add the following contents to

Module Class: org.labkey.api.module.SimpleModule
Name: ReportDemo

Build the Module

  • Open the file and add the following line:
  • In a command shell, go to the 'server' directory, for example, 'cd C:\dev\labkey-src\trunk\server'.
  • Call 'ant build' to build the module.
  • Restart the server to deploy the module.

Enable Your Module in a Folder

To use a module, enable it in a folder.

  • Go to the LabKey Server folder where you want add the module functionality.
  • Select Admin -> Folder -> Management -> Folder Type tab.
  • Under the list of Modules click on the check box next to ReportDemo to activate it in the current folder.

Start Over | Next Step





expand all collapse all