Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Deployment

The deployment can be divided into two parts:

Download

  1. REDCap PHP plugin: Click on this link to download the REDCap PHP plugin.

  2. OpenSpecimen-REDCap Plugin: To download the OpenSpecimen-REDCap plugin, please contact Krishagni.

Installation

Installation of these plugins to the remote server helps in sharing data or information across datasets. There are two parts to this process:

Installation of REDCap PHP

...

Plugin

  1. Log in to the REDCap server and navigate to the REDCap install directory containing the file redcap_connect.php and database.php files.

  2. Following are example commands executed in our dev environment.

    Code Block
    languagenone
    $ cd /home/var-www/html/redcap/
    $ ls database.php redcap_connect.php
    database.php  redcap_connect.php
  3. Create a new 'plugins' directory if not present.

    Code Block
    $ mkdir -p plugins
  4. Download the PHP plugin and copy it to the plugins directory.

    Code Block
    $ cp $RC_OS_PLUGIN/openspecimen_plugin.php plugins
  5. To ensure that the plugins are correctly installed, you can invoke the following API using the HTTP client program of choice.

...

Info

Please contact your REDCap system admin for these steps. There might be slight differences based on the REDCap version, operating system, etc.

Installation of

...

OpenSpecimen plugin

  1. Exact the JAR file from your downloaded zip file.

  2. Login to your OpenSpecimen server and navigate to the plugins directory.

  3. Remove older copy of the REDCap-OpenSpecimen plugin (if any) and copy the current version.

  4. Restart the server.

...