Install VirtualBox
Install Vagrant
# clone
git clone https://github.com/DevOpsBootcamp/devopsbootcamp-vagrant.git
# start up
cd devopsbootcamp-vagrant
vagrant up
# access vm
vagrant ssh
SSH keys: |
---|
ssh-keygen -t rsa
Your public key is in ~/.ssh/id_rsa.pub by default.
GitHub -> Account Settings (icon in upper right) -> SSH keys -> Add SSH key
On host machine, in devopsbootcamp-vagrant directory:
git pull
vagrant up
vagrant ssh
Now that you're in the guest machine:
git@github.com:DevOpsBootcamp/catch-up.git
cd catch-up
./catch-up.sh
Start one with: |
---|
git checkout -b branchname
Which are you on: | |
---|---|
git branch
Switch with: |
---|
git checkout branchname
In the guest machine, with virtualenv activated, python systemview.py
Point the browser of your host machine at http://127.0.0.1:5050
If changes in the app don't show up in your browser, use F5 to hard refresh
# Show current branch
$ git branch
# create new branch, called branchname
$ git checkout -b branchname