The ReDBox team have put together a vagrant box for development use. The vagrant box may also be suitable for spinning up an instance of the system for evaluation purposes.
If you're using OSX you may wish to follow the instructions further down this page to install the required components using Homebrew. Otherwise, see the Vagrant and Unison websites for instructions on how to install them for your system.
git clone https://github.com/qcif/vagrant-redbox-dev.git
RedBox
|
| - vagrant-redbox-dev
|
| - redbox-portal
|
git clone https://github.com/redbox-mint/redbox-portal.git
vagrant up
Your box should initialise and install all the required development tools
vagrant plugin install vagrant-unison2
vagrant unison-sync-polling
This will start polling every second your local machine share directory and the directory on the virtual machine and keep them in sync as files change. You may want to do this in another console window as this will stay running until you hit Ctrl+C
vagrant ssh
cd source/redbox-portal
./runForDev.sh install jit
This command will launch docker, run yarn to download any required dependencies and build the Angular applications that the portal uses. For subsequent runs you can just start the application using the command
./runForDev.sh
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
brew install vagrant
or
brew cask install vagrant
brew install unison