- Install VirtualBox and Vagrant. If you are running Windows, install Git and run
git config core.autocrlf inputto prevent line ending issues. - Clone the Director 4.0 repository onto your computer and
cdinto the new directory. If you have an SSH key, rungit clone git@github.com: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 sshto login to the VM. Once inside, runcd directorto change into the repo and./scripts/install_dependencies.shto install Director's Python dependencies using Pipenv. - You can now work on Director.
scripts/start-servers.shwill open atmuxsession 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. - See this for an explaination of the components of the development
tmux
- Note: If you are not familiar with
- When you are finished, type
exitto exit the VM andvagrant haltto stop it. When you want to work on Director 4.0 again,cdinto this directory, runvagrant upandvagrant sshto launch the VM and connect to it, and then runexitandvagrant haltto exit and shut it down.