Skip to content

Commit

Permalink
Standarize Vagrantfile
Browse files Browse the repository at this point in the history
  • Loading branch information
gajdaw committed Mar 20, 2015
1 parent 56e4f86 commit 8a3bf5b
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions Vagrantfile
@@ -1,9 +1,9 @@
VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.vm.box = "http://boxes.gajdaw.pl/django/django-v0.2.4.box"
config.vm.network :forwarded_port, guest: 8000, host: 8000, host_ip: "127.0.0.1"
Vagrant.configure(2) do |config|
config.vm.box = "django-v0.2.4"
config.vm.box_url = "http://boxes.gajdaw.pl/django/django-v0.2.4.box"
config.vm.box_download_checksum_type = "sha256"
config.vm.box_download_checksum = "86637c21234ce0f4a563f665dba16776346299ebd59674a68328ff93f626404a"
config.vm.network :forwarded_port, guest: 8000, host: 8000, host_ip: "127.0.0.1"

$script = <<SCRIPT
Expand All @@ -14,4 +14,5 @@ SCRIPT

config.vm.provision "shell", inline: $script, run: "always"

config.vm.post_up_message = "The application is available at http://127.0.0.1:8000"
end

0 comments on commit 8a3bf5b

Please sign in to comment.