Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

Latest commit

 

History

History
10 lines (9 loc) · 1.52 KB

SETUP.md

File metadata and controls

10 lines (9 loc) · 1.52 KB

Vagrant setup

  1. Install VirtualBox and Vagrant. If you are running Windows, install Git and run git config core.autocrlf input to prevent line ending issues.
  2. Clone the Director 4.0 repository onto your computer and cd into the new directory. If you have an SSH key, run git clone [email protected]:tjresearch/research-theo_john.git director && cd director. Otherwise, run git clone https://github.com/tjresearch/research-theo_john.git director && cd director.
  3. Run vagrant plugin install vagrant-vbguest.
  4. Run vagrant up && vagrant reload. This will download a Vagrant image and provision the resulting VM.
  5. Run vagrant ssh to login to the VM. Once inside, run cd director to change into the repo and ./scripts/install_dependencies.sh to install Director's Python dependencies using Pipenv.
  6. You can now work on Director. scripts/start-servers.sh will open a tmux session with the four servers each running in a separate pane.
  7. When you are finished, type exit to exit the VM and vagrant halt to stop it. When you want to work on Director 4.0 again, cd into this directory, run vagrant up and vagrant ssh to launch the VM and connect to it, and then run exit and vagrant halt to exit and shut it down.