So, I have to download, as per official discourse development guide, vagrant software and then, run vagrant up in the git shell opened from the github desktop client for dicourse’s master branch. My question is I get something like this:
The problem is that my internet connection is not very good and it automatically reboots every 2 hours or so. It’s speed is also not very fast. So, trying to download vagrant through cmd is hopeless. I have already failed a dozen times. That’s why I use Free Download Manager for big downloads like this one.
My question is: How can I download that .box file and complete all tasks that vagrant up does without using cmd?
I am sorry but I don’t really understand cmd well and so need some more help, well, because, now, I got this error:
$ vagrant box add discourse-1.3.0 C:\Users\intl\Desktop\discourse-1.3.0.box
I:/Vagrant/embedded/lib/ruby/2.2.0/uri/rfc3986_parser.rb:66:in `split': bad URI(is not URI?):file://C:UsersintlDesktopdiscourse-1.3.0.box (URI::InvalidURIError)
from I:/Vagrant/embedded/lib/ruby/2.2.0/uri/rfc3986_parser.rb:72:in `parse'
from I:/Vagrant/embedded/lib/ruby/2.2.0/uri/common.rb:226:in `parse'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/box_add.rb:467:in `metadata_url?'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/box_add.rb:77:in `block in call'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/box_add.rb:75:in `map'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builtin/box_add.rb:75:in `call'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/warden.rb:34:in `call'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/builder.rb:116:in `call'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `block in run'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/util/busy.rb:19:in `busy'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/action/runner.rb:66:in `run'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/box/command/add.rb:78:in `execute'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/plugins/commands/box/command/root.rb:61:in `execute'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/cli.rb:42:in `execute'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/lib/vagrant/environment.rb:302:in `cli'
from I:/Vagrant/embedded/gems/gems/vagrant-1.8.1/bin/vagrant:174:in `<main>'
It looks like you are on the “F” drive (?) and is trying to access file on the “C” drive. Windows path is notoriously peculiar. I would suggest you move the file to a location that you can reference using a relative path. Try to use .. to trace to your file and avoid referencing it using C:/
Ok, my discourse folder (that I had cloned from the main site) was on F drive. And my .box file was on desktop. I moved the .box file inside F drive, so that discourse folder and .box file were siblings inside F drive. And this time, using relative paths worked: