From 813b3db722b05d7c773a32dbaaee155566da38a1 Mon Sep 17 00:00:00 2001 From: Austin King <shout@ozten.com> Date: Tue, 13 Dec 2011 14:20:14 -0800 Subject: [PATCH] Updating Install instructions, reving Vagrant VM, adding update instructions. --- README.md | 12 ++++++++++-- Vagrantfile | 4 ++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 5ccd15419..9cedeb624 100644 --- a/README.md +++ b/README.md @@ -26,8 +26,8 @@ or changes will be made. ``` cd browserid vagrant up -vagrant ssh vagrant@lucid32:browserid -node ./run.js +vagrant ssh +npm start ``` `vagrant up` will take a while. Go get a cup of coffee. This is because it downloads the 500MB VM. @@ -44,6 +44,7 @@ Here's the software you'll need installed: * node.js (>= 0.6.2): http://nodejs.org/ * npm: http://npmjs.org/ (or bundled with node in 0.6.3+) +* libgmp3 * git * g++ @@ -54,6 +55,13 @@ Here's the software you'll need installed: 3. run `npm start` to start the servers locally 4. visit the demo application ('rp') in your web browser (url output on the console at runtime) +You can stop the servers with a Cntl-C in the terminal. + +## Staying up to date: + +1. rm -Rf var node_modules +2. npm install + ## Testing Unit tests can be run by invoking `npm test` at the top level, and you diff --git a/Vagrantfile b/Vagrantfile index 342703d1e..007fcbfb1 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,7 +1,7 @@ Vagrant::Config.run do |config| - config.vm.box = "lucid32_2.box" - config.vm.box_url = "http://people.mozilla.org/~aking/browserid/lucid32_2.box" + config.vm.box = "browserid_3.box" + config.vm.box_url = "http://people.mozilla.org/~aking/browserid/browserid_3.box" # name vagrant desktop config.vm.forward_port("readme", 10000, 10000) -- GitLab