Skip to content

Commit

Permalink
chore(project): Update Vagrantfile for testing
Browse files Browse the repository at this point in the history
To test locally within the VM the directory must start with the
prefix generator-, so it is now there.
  • Loading branch information
kenjones-cisco committed Jan 9, 2016
1 parent 0f31398 commit ae21b0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# accessing "localhost:8080" will access port 80 on the guest machine.
config.vm.network "forwarded_port", guest: 8080, host: 8080

config.vm.synced_folder ".", "/home/vagrant/swagapi", type: "rsync", rsync__exclude: ["node_modules/", "coverage/"]
config.vm.synced_folder ".", "/home/vagrant/generator-swagapi", type: "rsync", rsync__exclude: ["node_modules/", "coverage/"]

config.vm.provision "docker" do |d|
# pull down base images
d.pull_images "ubuntu:14.04"
d.pull_images "node:4"

d.build_image "/home/vagrant/swagapi", args: "-t kenjones/generator-swagapi"
d.build_image "/home/vagrant/generator-swagapi", args: "-t kenjones/generator-swagapi"
end

# make it so your git will continue to work even within the VM
Expand Down

0 comments on commit ae21b0a

Please sign in to comment.