This custom module provides the Response Server functionality and services, including:
- Processing and storing all mobile app survey and active task responses
- Issuing enrollment tokens to research organizations
- Enrolling and unenrolling participants
- Creating database schemas that match each study's design and updating them as studies change
- Limited querying of data by the mobile app
- Providing web analytics, querying, reporting, and visualizations through manual and programmatic methods
This module must be deployed within the LabKey Server platform (version 19.2.x). To build a standalone distribution of the Response Server (i.e., a standard LabKey Server distribution plus the mobileAppStudy module), follow these steps:
-
Checkout the LabKey Server 19.2.x public Subversion (SVN) and GitHub repositories: Enlist in the Version Control Project
-
Navigate to the root of your SVN working copy (the level right above the "server" directory).
-
In your settings.gradle file, find the commented out line with this text:
//include ":server:modules:workflow"
-
Underneath this line, add these two lines:
include ":server:modules:mobileAppStudy" include ":server:modules:mobileAppStudy:distributions:fda"
-
On the command line (again, in the root of your working copy), run one of these commands (use the first command on Linux/OSX and the second on Windows):
./gradlew :server:modules:mobileAppStudy:distributions:fda:dist gradlew :server:modules:mobileAppStudy:distributions:fda:dist
-
Look in the directory "dist/mobileAppStudy" for a file whose name ends with "mobileAppStudy-bin.tar.gz". Install this distribution using the Install LabKey Manually instructions.