Browse files

Download lucid32 basebox automatically.

There's no need to download basebox by hand, vagrant can handle this.
  • Loading branch information...
1 parent c1d5316 commit 64fedcc094cce801d3aeeafc60a9316f318b032f @ciastek ciastek committed May 21, 2012
Showing with 5 additions and 7 deletions.
  1. +3 −6 README.markdown
  2. +2 −1 Vagrantfile
View
9 README.markdown
@@ -8,16 +8,13 @@ How
gem install vagrant
2. Download and Install [VirtualBox](http://www.virtualbox.org/)
-3. Download a vagrant box (name of the box is supposed to be lucid32)
-
- vagrant box add lucid32 http://files.vagrantup.com/lucid32.box
-4. Clone this repo
-5. Go to the repo and launch the box
+3. Clone this repo
+4. Go to the repo and launch the box
cd [repo]
vagrant up
-6. Add this line to your `/etc/hosts` (or windows equivalent)
+5. Add this line to your `/etc/hosts` (or windows equivalent)
127.0.0.1 www.dev-site.com dev-site.com dev.dev-site-static.com
That's it, the file in [repo]/public/ are served here : [http://www.dev-site.com:8080/](http://www.dev-site.com:8080/)
View
3 Vagrantfile
@@ -5,6 +5,7 @@ Vagrant::Config.run do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "lucid32"
+ config.vm.box_url = "http://files.vagrantup.com/lucid32.box"
config.vm.provision :chef_solo do |chef|
chef.cookbooks_path = "cookbooks"
@@ -18,4 +19,4 @@ Vagrant::Config.run do |config|
config.vm.forward_port(80, 8080)
config.vm.forward_port(3306, 3306)
-end
+end

0 comments on commit 64fedcc

Please sign in to comment.