Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jthigpen committed Dec 5, 2013
1 parent cf299fe commit 36f6d22
Showing 1 changed file with 15 additions and 12 deletions.
27 changes: 15 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,18 @@ This is based off https://github.com/wunki/django-salted. For more information,

To use:

1. Install all the requirements for django-salted as listed here: https://github.com/wunki/django-salted
1. clone this repo to your local box
1. Issue a `vagrant up`
1. have a snack, watch the churn
1. ssh into the box with `vagrant ssh`
2. cd to `/vagrant`
3. run 'curl localhost' to see if everything is working. It should return 'This is version 1!'
4. run `/vagrant/load-test.sh`
4. open a second ssh session in another terminal tab via `vagrant ssh`
5. run `cd /vagrant && sudo ./deploy.sh v2`
6. Watch it deploy, you can watch the load test tab to see that all the requests are happily processed.
7. when deployment is done, do a `curl localhost` to confirm that you are now running Version 2.
1. Setup the vm
1. Install all the requirements for django-salted as listed here: https://github.com/wunki/django-salted
1. clone this repo to your local box
1. Issue a `vagrant up`, wait a while
2. run `curl localhost:8080` to see if everything is working as it should. It should return "This is version 1!"
1. Start the load test
1. ssh into the box with `vagrant ssh`
2. cd to `/vagrant`
3. run 'curl localhost' to see if everything is working. It should return 'This is version 1!'
4. run `/vagrant/load-test.sh`
1. Deploy Version 2
4. open a second ssh session in another terminal tab via `vagrant ssh`
5. run `cd /vagrant && sudo ./deploy.sh v2`
6. Watch it deploy, you can watch the load test tab to see that all the requests are happily processed.
7. When deployment is done, do a `curl localhost` to confirm that you are now running Version 2.

0 comments on commit 36f6d22

Please sign in to comment.