...
Log in to the REDCap server and navigate to the REDCap install directory containing the file redcap_connect.php and database.php files.
Following are example commands executed in our dev environment.
Code Block language none $ cd /home/var-www/html/redcap/ $ ls database.php redcap_connect.php database.php redcap_connect.php
Create a new 'plugins' directory if not present.
Code Block $ mkdir -p plugins
Download the PHP plugin and copy it to the plugins Copy the REDCap_PHP file to the plugin's directory.
Code Block $ cp $RC_OS_PLUGIN/openspecimen_plugin.php plugins
To ensure that the plugins are correctly installed, you can invoke the following API using the HTTP client program of choice or run the commands as shown below.
...
Exact the JAR file from your downloaded zip file.
Login to your OpenSpecimen server and navigate to the plugins directory.Remove
$TOMCAT_HOME/bin
directory.Stop the tomcat service using the command:
Code Block ./shutdown.sh force
Now, navigate to the plugin's directory and remove an older copy of the REDCap-OpenSpecimen plugin (if any) and copy the current version.Restart the server.
Navigate back to the
$TOMCAT_HOME/bin
directory and restart the tomcat service using the command:Code Block ./startup.sh
How to check the plugin version?
...