- Install VirtualBox and Vagrant. If you are running Windows, install Git and run
git config core.autocrlf input
to prevent line ending issues. - Clone the Director 4.0 repository onto your computer and
cd
into the new directory. If you have an SSH key, rungit clone [email protected]:tjresearch/research-theo_john.git director && cd director
. Otherwise, rungit clone https://github.com/tjresearch/research-theo_john.git director && cd director
. - Run
vagrant plugin install vagrant-vbguest
. - Run
vagrant up && vagrant reload
. This will download a Vagrant image and provision the resulting VM. - Run
vagrant ssh
to login to the VM. Once inside, runcd director
to change into the repo and./scripts/install_dependencies.sh
to install Director's Python dependencies using Pipenv. - You can now work on Director.
scripts/start-servers.sh
will open atmux
session with the four servers each running in a separate pane.- Note: If you are not familiar with
tmux
, we recommend https://www.hamvocke.com/blog/a-quick-and-easy-guide-to-tmux/ and https://tmuxcheatsheet.com/ as starting resources.
- Note: If you are not familiar with
- When you are finished, type
exit
to exit the VM andvagrant halt
to stop it. When you want to work on Director 4.0 again,cd
into this directory, runvagrant up
andvagrant ssh
to launch the VM and connect to it, and then runexit
andvagrant halt
to exit and shut it down.
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.