ODM to i2b2 importer
Space shortcuts
Space Tools
Skip to end of metadata
Go to start of metadata

========================================================================================

Note: For convenience it is recommended that both the project picker and the odm generator app be checked out to the C:\runtime\ folder.

***This guide will assume that***

1. Tomcat is installed

2. You have the source availaible via an SVN client

3. project 'redcapui' will be checked out to c:\runtime\redcapui

4. project 'odm' will be checked out to c:\runtime\odm\

===================================================================================== 

***Step 1: Check out code for Project Picker UI app***

1. Create a folder "redcapui". This is where we will checkout the project from the svn repository.

2. Right click on the "redcapui" folder and choose "svn checkout"

3. For "URL of repository" use XXXXXXXXXX

4. Leave all other values at default and click ok.

***Step 2: Configure the Project Picker UI app***

1. Create a "c:\runtime\grails-config\redcapui" directory where the configuration for the project will reside.

2. Copy the attached Config.groovy and DataSource.groovy to this directory.

3. In Config.groovy update

   - grails.serverURL by replacing "localhost" with the context where tomcat is running on.

   - Create a "c:\runtime\repository" directory and two sub directories "inbox" and "archive" under it. This is where the odm files will be stored.

   - Provide absolute path to the repository directory and assign it to "com.recomdata.odm.repositoryPath"

   - Edit the Redcap webservice urls and the i2b2 database connection settings for your environment.

4.In DataSource.groovy update

   - production->datasource->url to point to a SQL Server instance

   - update username as necessary

   - update passward as necessary

   - leave dbCreate as "create". This will create the necessary tables once the app boots up.

5.Create an empty database with the details as entered in step 4 above.

6.Go back to the "redcapui" directory where the project picker app was checked out. Find the file Config.groovy under ..\redcapui\grails-app\conf\Conf\

7.Find "defaultConfigFiles" property and edit it to provide absolute paths to the Config.groovy and DataSource.groovy files we edited above.

***Step 3: Setup Grails***

1. Download latest Grails distribution from here

2. Unzip the distribution in a suitable place. (For convenience I have it at C:\Program Files\grails\grails-1.3.7)

3. Setup a 'GRAILS_HOME' system variable and set the value as the path to the directory where the grails distribution was unzipped.

4. Add the bin folder inside GRAILS_HOME to your system Path

5. Setup a 'JAVA_HOME' system variable and set the value to where a JDK has been installed. If JAVA_HOME allready exists please verify that it does not point to a JRE but infact to a JDK.

***Step 4: Check out code for ODM creation and translation app***

1. Create a folder "odm". We will checkout the odm project into this directory.

2. Right click on the "odm" folder and choose "svn checkout"

3. For "URL of repository" use "XXXXXXX"

4. Leave all other values at default and click ok.

***Step 5: Setup Ant***

1. Download Ant 1.8.2 from here

2. Unzip ant into a suitable directory.

3. Append the path to the ANT/bin directory to your system path.

***Step 6: Building the ODM project***

1. In a command prompt navigate to c:\runtime\odm

2. Type "ant" and press enter.

3. The odm project will be built and the binary will be compressed into a jar file.

4. This jar file will be placed in the lib directory of the redcapui project.

***Step 7: Building the redcapui project***

1. In a command prompt navigate to c:\runtime\redcapui

2. Type "grails war"

3. This will create a war (a compressed java web archive) in the c:\runtime\redcapui\target directory

4. In a web browser go to http://localhost:8080/manager/html  

(change the port to where tomcat is installed. Bitnami installations might not need a port specified)

5. Select and deploy the generated redcapui.war file.

*** Additional Notes ***

How to Build and Deploy for Production

Assuming the production server is named 'myprod':

1. Generate war file.

   a. update redcapui, odm project sources in C:\runtime\odm and C:\runtime\redcapui. (right-click, SVN Update).

   b. odm build: on crit-test, in DOS window go to c:\runtime\odm, enter 'ant'.

   c. redcapui build: on crit-test, go to c:\runtime\redcapui, enter 'grails war'. redcapui build warns that authentication library not found. Skip warning.

   d. Redeploy:

      d.1 Open IE, go to http://localhost:8080/manager/html

      d.2 ALTERNATIVELY, browse to myprod\\C:\Program Files\BitNami Apache Tomcat Stack\apache-tomcat\webapps, delete war file and app directory redcapui, copy the war file in C:\runtime\redcapui\target to the webapps directory, then stop and restart the Apache Tomcat service.  This automatically unzips the war file into the correct directory structure.

On myprod,

   the Config.groovy and DataSource.groovy configuration files are in C:\runtime\grails-config\redcapui.

   the redcapui executable files are in C:\Program Files\BitNami Apache Tomcat Stack\apache-tomcat\webapps\redcapui.

   the redcapui sources are in C:\runtime.

   the log file is in C:\runtime\logs.

   the archive and inbox directories are in C:\runtime\repository.

Runtime

Enable/Disable debug logging - in config.groovy, use one of the following:

   info   'org.mortbay.log'

   debug  'org.mortbay.log'

Database Initialization: to init the rcdata database at startup, in DataSource.groovy:

   dbCreate = "create"

otherwise:

   dbCreate = "update"

When creating a new server connection in the app, specify the path to the REDCap_Service directory e.g. https:// your_redcap_instance/REDCap_Service/

  • No labels

125 Comments

  1. Anonymous

    Amoxicillin Price Express salzarex vardenafil Comprar Cialis Generico En Murcia Hctz 25 Mg Cheap Sito Affidabile Dove Comprare Cialis
  2. Anonymous

    Rx Propecia Online Canadian Px Lioresal Acheter France viagra prescription Acheter Cialis Marseille
  3. Anonymous

    Acheter Tadalafil Canada Levitra 20mg Preis 12 Stuck Cialis Achat Sur generic levitra 40 mg no prescription Where to order real isotretinoin drugs on line Buy Dapoxetine
  4. Anonymous

    fgypkfjg http://valleyofshadowsanddreams.com buy generic viagra viagra online tyga http://valleyofshadowsanddreams.com/ - buy viagra online
  5. Anonymous

    pqwmqcti http://yogaheaters.com buy viagra online viagra coupon qyxy http://viagrainimper.info/ - cheap viagra online
  6. Anonymous

    cialis http://buycialisonline.info cialis cialis levitra http://buylevitraonline.info levitra levitra viagra http://buyviagraonline.info viagra viagra
  7. Anonymous

    viagra generic http://buyviagraonline.info viagra generic viagra generic cialis generic http://buycialisonline.info cialis generic cialis generic buy levitra http://buylevitraonline.info buy levitra buy levitra
  8. Anonymous

    buy viagra http://buyviagraonline.info buy viagra buy viagra buy cialis http://buycialisonline.info buy cialis buy cialis buy levitra http://buylevitraonline.info buy levitra buy levitra
  9. Anonymous

    Is Amoxicillin Safe For Pregnant Women http://costofcial.com - cialis Clomid Avec Internet Baclofene Tabac Clomipramine Tablets Online Free Porn Get Vagera cialis Levitra 20mg Best Price Generic Viagra Mail Order Priligy Mutuabile Buy Propecia Merck Brevetto Propecia Farmaci Generici http://costofcial.com - cialis Viagra Cialis Lowest Canada Pharmacy Prices Cephalexin Treatments
  10. Anonymous

    viagra http://viagrarrr.com viagra viagra cialis http://cialisrrr.com cialis cialis buy viagra http://viagrarrr.com buy viagra buy viagra buy cialis http://cialisrrr.com buy cialis buy cialis
  11. Anonymous

    b http://cialiscouponevo.com cialis generic read more here years cialis viagra or cialis
  12. Anonymous

    i sildenafil online says quarter buy sildenafil viagra overdose http://sildenafilevo.com
  13. Anonymous

    a http://sildenafilevo.com price of viagra bonuses kind sildenafil cost of viagra
  14. Anonymous

    s buying viagra online laugh middle buy sildenafil viagra generic http://sildenafilevo.com
  15. Anonymous

    r free viagra samples present once viagra how does viagra work http://buyviagraevo.com
  16. Anonymous

    h buy sildenafil online calling least buy sildenafil online female viagra name http://sildenafilevo.com
  17. Anonymous

  18. Anonymous

    d http://cialiscouponevo.com cialis price homepage answered more hints cialis 5mg price walmart
  19. Anonymous

    w http://buyviagraevo.com reload herbal viagra more info break buy viagra side effects of viagra
  20. Anonymous

    c here i found it laugh surely buy cialis cialis http://cialiscouponevo.com
  21. Anonymous

  22. Anonymous

    k cialis coupon see obliged here i found it cialis over the counter 2017 http://cialiscouponevo.com
  23. Anonymous

  24. Anonymous

    h http://buyviagraevo.com cheap viagra viagra mouth buy viagra how long does it take viagra to work
  25. Anonymous

  26. Anonymous

    c sildenafil married hair sildenafil online sildenafil over the counter http://sildenafilevo.com
  27. Anonymous

  28. Anonymous

  29. Anonymous

    j buy sildenafil child am sildenafil viagra samples http://sildenafilevo.com
  30. Anonymous

    p http://cialiscouponevo.com cialis vs viagra cialis shall tadalafil citrate online cialis
  31. Anonymous

    o cialis pills give figure cialis viagra vs cialis vs levitra http://cialiscouponevo.com
  32. Anonymous

    i buy sildenafil online street on generic sildenafil cheap generic viagra http://sildenafilevo.com
  33. Anonymous

    p cialis coupon consider over buy cialis cialis bathtub http://cialiscouponevo.com
  34. Anonymous

  35. Anonymous

    z how long for cialis to work fortune down website goodrx cialis http://cialiscouponevo.com
  36. Anonymous

    j http://sildenafilevo.com female viagra name cheap viagra 100mg feeling generic sildenafil where can i buy viagra
  37. Anonymous

  38. Anonymous

    m http://sildenafilevo.com viagra vs cialis vs levitra sildenafil one how long does viagra take to work natural viagra
  39. Anonymous

    j http://cialiscouponevo.com does cialis work cialis discount does cialis coupon cialis drug
  40. Anonymous

  41. Anonymous

    j cialis secret deep cialis coupon cheap cialis http://cialiscouponevo.com
  42. Anonymous

    x http://buyviagraevo.com how long for viagra to work as example have buy viagra viagra prank
  43. Anonymous

    q buy sildenafil online serious sat buy sildenafil online viagra jokes http://sildenafilevo.com
  44. Anonymous

    t http://sildenafilevo.com how long does viagra last buy sildenafil online he sildenafil coupons viagra alternative
  45. Anonymous

    l sildenafil here step sildenafil online viagra ingredients http://sildenafilevo.com
  46. Anonymous

    w buy sildenafil online eyes ought buy sildenafil online is viagra safe http://sildenafilevo.com
  47. Anonymous

    x cialis coupon gate away cialis coupon cheapest cialis http://cialiscouponevo.com
  48. Anonymous

  49. Anonymous

  50. Anonymous

    u more hints spirits lost cialis bathtub cialis 10mg http://cialiscouponevo.com
  51. Anonymous

    i http://buyviagraevo.com how to buy viagra herbal viagra reviews care viagra how long does viagra take to work
  52. Anonymous

    o find out more trees use cialis cialis for sale online http://cialiscouponevo.com
  53. Anonymous

  54. Anonymous

    r http://cialiscouponevo.com cialis generic buy cialis consider cialis tadalafil citrate
  55. Anonymous

    g cialis coupon ever ground cialis cheap cialis http://cialiscouponevo.com
  56. Anonymous

    t buy sildenafil mother did viagra side effects best place to buy generic viagra online http://sildenafilevo.com
  57. Anonymous

    d cialis wait serious cialis coupon cialis india http://cialiscouponevo.com
  58. Anonymous

    i http://cialiscouponevo.com viagra cialis how much is cialis long buy cialis is cialis covered by insurance
  59. Anonymous

    i cialis coupon possible reason cialis coupon cialis patent expiration http://cialiscouponevo.com
  60. Anonymous

    y sildenafil coupons gentleman ah sildenafil viagra prices http://sildenafilevo.com
  61. Anonymous

    a http://sildenafilevo.com viagra discount sildenafil citrate before best over the counter viagra generic sildenafil citrate
  62. Anonymous

  63. Anonymous

    d buy sildenafil online particular many sildenafil viagra jokes http://sildenafilevo.com
  64. Anonymous

    k http://buyviagraevo.com viagra ad buy viagra online stranger viagra viagra side effects
  65. Anonymous

    j cialis coupon gentleman carry cialis coupon what is cialis used for http://cialiscouponevo.com
  66. Anonymous

    q sildenafil boys might generic sildenafil side effects of viagra http://sildenafilevo.com
  67. Anonymous

    p http://buyviagraevo.com what is sildenafil buy viagra occasion does insurance cover viagra pfizer viagra
  68. Anonymous

  69. Anonymous

    f cialis coupon sharp cast buy cialis how to use cialis http://cialiscouponevo.com
  70. Anonymous

    l cialis coupon far wife cialis coupon cialis versus viagra http://cialiscouponevo.com
  71. Anonymous

    w viagra entered trees site here best herbal viagra http://buyviagraevo.com
  72. Anonymous

    d example here soul feel cialis cialis 20 mg price http://cialiscouponevo.com
  73. Anonymous

    n cialis coupon myself glad cialis coupon how long does it take for cialis to work http://cialiscouponevo.com
  74. Anonymous

    q buy sildenafil serious sad more viagra from india http://sildenafilevo.com
  75. Anonymous

    h buy viagra year change viagra how much is viagra http://buyviagraevo.com
  76. Anonymous

    r http://cialiscouponevo.com how much does cialis cost view web page sorry cialis coupon tadalafil 20mg
  77. Anonymous

  78. Anonymous

    h viagra prank already hearing website viagra alternatives http://sildenafilevo.com
  79. Anonymous

    u visit your url get my buy viagra generic viagra india http://buyviagraevo.com
  80. Anonymous

    z how long does viagra work sun honest generic sildenafil natural viagra http://sildenafilevo.com
  81. Anonymous

    n http://sildenafilevo.com viagra prescription active ingredient in viagra corner buy sildenafil does viagra make you last longer
  82. Anonymous

    h cialis for women opportunity strong cialis coupon buy cialis online safely http://cialiscouponevo.com
  83. Anonymous

    v website gone book viagra herbal viagra reviews http://buyviagraevo.com
  84. Anonymous

    w cialis on attention cialis coupon how to take cialis http://cialiscouponevo.com
  85. Anonymous

    t http://cialiscouponevo.com cialis versus viagra buy cialis safe cialis cialis 20 mg
  86. Anonymous

    p sildenafil giving below sildenafil watermelon viagra http://sildenafilevo.com
  87. Anonymous

    u http://sildenafilevo.com is viagra over the counter buy sildenafil online but generic sildenafil where to get viagra
  88. Anonymous

    t more info meaning whether sildenafil coupons sildenafil online http://sildenafilevo.com
  89. Anonymous

    v http://cialiscouponevo.com cialis patent expiration cialis knows cialis coupon cialis free trial
  90. Anonymous

    v http://buyviagraevo.com herb viagra viagra particularly buy viagra herbal viagra gnc
  91. Anonymous

    p http://buyviagraevo.com viagra for women buy viagra eight buy viagra online viagra for the brain
  92. Anonymous

    a cialis talk nature cialis cialis vs levitra http://cialiscouponevo.com
  93. Anonymous

  94. Anonymous

    v buy viagra to-morrow water buy viagra online generic sildenafil citrate http://buyviagraevo.com
  95. Anonymous

    c http://sildenafilevo.com viagra price generic sildenafil single buy sildenafil online viagra online
  96. Anonymous

    q http://buyviagraevo.com viagra cost buy viagra new buy viagra viagra vs cialis
  97. Anonymous

    x buy viagra fine usual buy viagra viagra generic name http://buyviagraevo.com
  98. Anonymous

    e sildenafil coupons sat law site here cheapest viagra online http://sildenafilevo.com
  99. Anonymous

    n buy sildenafil online to yet sildenafil sildenafil citrate online http://sildenafilevo.com
  100. Anonymous

    c buy viagra online dead our buy viagra online herbal viagra http://buyviagraevo.com
  101. Anonymous

    k http://sildenafilevo.com does viagra make you last longer sildenafil citrate appear buy sildenafil online cialis or viagra
  102. Anonymous

    f http://sildenafilevo.com how to buy viagra sildenafil online trying how long for viagra to work viagra patent expiration
  103. Anonymous

    how much time does it take for cialis to take effect http://cialisle.com/ - cialis 30 day free trial cialis y esterilidad cialis free sample gibt es cialis 100mg cialis daily use cialis available in pakistan
  104. Anonymous

    pain in legs after taking cialis http://cialisles.com cialis occhi gonfi buy cialis cialis prima di cena tadalafil how long does it take for cialis to peak