#Vagrant VM for REDCap
The Vagrantfile and Puppet manifests provided in this repository will allow you to create a virtual machine to run the REDCap database.
To use this software you will need the latest version of [Vagrant] (https://www.vagrantup.com/downloads.html) and the latest version of [VirtualBox] (https://www.virtualbox.org/wiki/Downloads).
-
Download the REDCap-vagrant-master ZIP file from gituhub and extract it under a User on your computer
-
Open the "Vagrantfile" that came with the downloaded folder
-
Change the directory of "C:/Users/Chris/Desktop/redcap" located in the Vagrantfile to the directory of your REDCap folder
-
Change the beginning directory and version number of your REDcap folder in "C:/Users/Chris/Desktop/redcap/redcap_v6.14.0/Resources/sql"
-
Open your Command Prompt or Terminal, and change your directory to the project root
Windows:
cd Users/(your name)/REDCap-vagrant-masterMac OSX / Linux:
cd ~/REDCap-vagrant-master -
Type
vagrant upand let it do it's magic
Vagrant will download the base box and run the Puppet provisioner to install Apache2, MySQL, PHP, necessary extensions, as well as set up the REDCap database users and tables.
At the end of the process, you should be able to navigate to http://127.0.0.1:1130/redcap/