Changes between Version 14 and Version 15 of REDCap HowTo Install Using Docker


Ignore:
Timestamp:
09/19/16 17:41:27 (8 years ago)
Author:
saj.issa
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • REDCap HowTo Install Using Docker

    v14 v15  
    1010
    1111    {{{$ sudo apt-get install git }}}
     12
     13    {{{$ sudo mkdir share }}}
     14
     15    {{{$ sudo chmod 777 -R share/ }}}
    1216
    1317Please note you will need to have an account on git.
     
    5862
    5963
    60 == Upgrade Redcap
     64== Upgrade Redcap using Docker
     65
     66Go to your home directory and checkout from git docker_redcap_upgrade
     67
     68    {{{sudo git clone https://github.com/LCBRU/docker_redcap_upgrade}}}
     69
     70This will create a directory /home/<USER>/docker_redcap_upgrade
     71
     72This docker script upgrades an existing redcap installation.
     73
     74The first step is to zip the existing redcap installation, this could be either
     75
     761. The directory /var/www/redcap on a virtual machine.
     77
     78    {{{cd /var/www/redcap}}}
     79    {{{sudo zip -r redcap_v5.7.0.zip *}}}
     80
     81Move this file into /home/<USER>/docker_redcap_upgrade
     82
     832. The directory /var/www/redcap within a running Docker container.
     84
     85   Connect to existing docker container using
     86
     87   {{{sudo docker exec -i -t <CONTAINERID> /bin/bash}}}
     88   {{{cd /var/www/redcap}}}
     89   {{{sudo zip -r redcap_v5.7.0.zip *}}}
     90   {{{sudo mv redcap_v5.7.0.zip /share/
     91   {{{exit}}}
     92
     93redcap_v5.7.0.zip should now be available on the host machine. In the directory /share/
     94
     95Move this file into /home/<USER>/docker_redcap_upgrade
     96
     97
     98
     99
     100
     101
     102
     103    {{{sudo docker build -t lcbruit/redcap_fresh:v6.16.6 .}}}
     104
     105    {{{sudo docker run -v /share:/share -itd -p 80:80 lcbruit/redcap_fresh:v6.16.6}}}
     106
     107    {{{sudo docker exec -i -t cbd3b580bd1b /bin/bash}}}
     108
     109
     110
     111
     112
     113
     114
     115
     116
     117
     118
     119
     120
     121
     122
     123
     124
     125
    61126
    62127There are 3 docker scripts available from github :