Changes between Version 31 and Version 32 of REDCap HowTo Install Using Docker


Ignore:
Timestamp:
10/06/16 16:55:43 (8 years ago)
Author:
saj.issa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • REDCap HowTo Install Using Docker

    v31 v32  
    6161    {{{GRANT ALL PRIVILEGES ON redcap6168_briccsext.* TO 'briccsext_user'@'uhlbriccsext01.xuhl-tr.nhs.uk';}}}
    6262
     63
     64== Installs
     65
     66You have the choice of either upgrading Redcap or installing a fresh version of Redcap
     67
    6368== Upgrade Redcap using Docker
    6469
     
    1131186. Edit database.php
    114119
    115 
    116 
    117 
    118 
    119 
    120 
    121 
    122 
    123 
    124 
    125 
    126 
    127 
    128 
    129 
    130 
    131 
    132 
    133 
    134 
    135 
    136 
    137 
    138 
    139 
    140     {{{sudo docker build -t lcbruit/redcap_upgrade:v6.16.8 .}}}
    141 
    142     {{{sudo docker run -v /share:/share -itd -p 80:80 lcbruit/redcap_upgrade:v6.16.8}}}
    143 
    144     {{{sudo docker exec -i -t cbd3b580bd1b /bin/bash}}}
    145 
    146 
    147 http://uhlbriccsext02.xuhl-tr.nhs.uk:81/redcap/redcap_v6.16.8/upgrade.php
     120Add entries for the database.
     121
     1227. Build Docker container
     123
     124   {{{sudo docker build -t lcbruit/redcap_upgrade:v6.16.8 .}}}
     125
     1268. Run container
     127
     128   {{{sudo docker run -v /share:/share -itd -p 80:80 lcbruit/redcap_upgrade:v6.16.8}}}
     129
     1309. Open URL
     131
     132   {{{http://<HOST>.xuhl-tr.nhs.uk:81/redcap/redcap_v6.16.8/upgrade.php}}}
     133
     13410. This url will give you a sql script that you run against the database. Download the sql file and place it on the mysql host. Run as follows :
     135
     136   {{{mysql -u root -p redcap6168 < redcap_upgrade_61608.sql}}}
     137
     138
     139
     140
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163   
     164
     165   
     166
     167   
     168
     169
    148170
    149171
     
    229251
    230252
     253
     254== Fresh Redcap using Docker
     255
     256
     257== Further info
     258
     259Redcap is run on port 82
     260
     261
     262
     263
     264
     265