Skip to content
Snippets Groups Projects
Commit f43c7ab7 authored by Lloyd Hilaiel's avatar Lloyd Hilaiel
Browse files

remove vagrant files and doc - closes #861

parent 1ac95d38
No related branches found
No related tags found
No related merge requests found
......@@ -16,32 +16,6 @@ This repository contains several distinct things related to BrowserID:
* **the browserid.org website** - the templates, css, and javascript that make up the visible part of browserid.org
* **the javascript/HTML dialog & include library** - this is include.js and the code that it includes, the bit that someone using browserid will include.
## Quick Start Virtual Machine
We've prepared a VM so you can test/hack/have fun with BrowserID without modifying your local computer (too much). Skip to the next section "Dependencies", for detailed instructions to install this codebase locally, instead of using Vagrant.
1. Install [Vagrant](http://vagrantup.com/docs/getting-started/index.html).
This does add ruby, ruby-gems, and VirtualBox to your local desktop computer. No other software
or changes will be made.
2. Boot up the VM:
```
cd browserid
vagrant up
vagrant ssh
npm start
```
`vagrant up` will take a while. Go get a cup of coffee. This is because it downloads the 500MB VM.
You can now browse to http://localhost:10001 and http://localhost:10002.
Any changes to the source code on your local computer are immediately mirrored in the VM.
Handy for dev and QA tasks, but if you want to install from scratch...
## Dependencies
Here's the software you'll need installed:
......
Vagrant::Config.run do |config|
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)
config.vm.forward_port("verifier", 10001, 10001)
config.vm.forward_port("server", 10002, 10002)
# Increase vagrant's patience during hang-y CentOS bootup
# see: https://github.com/jedi4ever/veewee/issues/14
config.ssh.max_tries = 50
config.ssh.timeout = 300
# nfs needs to be explicitly enabled to run.
config.vm.share_folder("v-root", "/home/vagrant/browserid", ".")
# Add to /etc/hosts: 33.33.33.27 dev.browserid.org
config.vm.network "33.33.33.27"
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment