diff --git a/README.md b/README.md index 5ccd15419125f7f3adc8a5914fe60b8c5f2eaddf..9cedeb62448cc95c4bef5470ecdbd4697d98de6d 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 342703d1e64ced40ccfe521e05d1ca6f3c57d8da..007fcbfb1abbc7d73ff875d74a1431071bb569fb 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)