Skip to content
This repository has been archived by the owner on Feb 18, 2021. It is now read-only.

LabKey/mobileAppStudy

Repository files navigation

LabKey mobileAppStudy Module - Implements the Response Server Functionality of the MyStudies System

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:

  1. Checkout the LabKey Server 19.2.x public Subversion (SVN) and GitHub repositories: Enlist in the Version Control Project

  2. Navigate to the root of your SVN working copy (the level right above the "server" directory).

  3. In your settings.gradle file, find the commented out line with this text:

    //include ":server:modules:workflow"
    
  4. Underneath this line, add these two lines:

    include ":server:modules:mobileAppStudy"
    include ":server:modules:mobileAppStudy:distributions:fda"
    
  5. 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
    
  6. 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.