I've set up a Virtualbox Ubuntu and installed Vagrant on it with
apt-get install vagrant
, nothing else.
According to this: https://laravel.com/docs/5.8/homestead I've tried:
vagrant box add laravel/homestead
after this did not work I've used:
git clone https://github.com/laravel/homestead.git ~/Homestead
and
bash init.sh
This seemed to work fine.
So I went into the folder where my code (and a Vagrant file) is and just tried
vagrant box add
(because I don't find a .box file or something like this... do I need one??)
Now I get the error:
Message: LoadError: cannot load such file -- /media/sf_contractManager/project1/backend/vendor/laravel/homestead/scripts/homestead.rb
What am I doing wrong here?
As I understand Vagrant I should get a complete environment/vm out of the Vagrant box or? No need to install php, mysql, etc. inside the Vagrant box (or outside on Virtualbox level).
Is this correct?
How can I bring the Vagrant box up?