forked from w3c/webauthn
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Vagrantfile for a VM with bikeshed installed
- Loading branch information
Showing
5 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
bikeshed/ | ||
/bikeshed/ | ||
.vagrant/ | ||
index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Vagrant VM with `bikeshed` | ||
=== | ||
|
||
Usage: | ||
|
||
alice@work $ cd webauthn/vagrant/bikeshed | ||
alice@work $ vagrant up | ||
alice@work $ vagrant ssh | ||
ubuntu@ubuntu-xenial $ cd /vagrant | ||
ubuntu@ubuntu-xenial $ bikeshed spec | ||
ubuntu@ubuntu-xenial $ exit | ||
alice@work $ $BROWSER ../../index.html | ||
alice@work $ vagrant destroy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Vagrant.configure("2") do |config| | ||
# Use Ubuntu 16.04 Xenial as a base box. | ||
config.vm.box = "ubuntu/xenial64" | ||
|
||
# Install bikeshed | ||
config.vm.provision "shell", path: "provision.sh" | ||
|
||
# Mount project directory at /vagrant | ||
config.vm.synced_folder '../..', '/vagrant' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#! /usr/bin/env bash | ||
|
||
sudo apt-get update -qq | ||
sudo apt-get install -qq python python-pip python-pygments | ||
|
||
git clone --depth=1 --branch=master https://github.com/tabatkins/bikeshed.git /vagrant/bikeshed | ||
pip install --editable /vagrant/bikeshed | ||
cp -R /vagrant/.spec-data/* /vagrant/bikeshed/bikeshed/spec-data/ |