I finally managed to get Laravel running using homestead. Again thanks for all your responses, together you have helped me to get homestead working .
Obviously I ran into a few problems on the way..
It seems you still have to install WAMP, although I thought you use Homestead so you won't have to use WAMP anymore.
I also discovered that you can't use TAB's in the yaml file, vagrant up will then result in some errors.
I still have a few questions:
I managed to make a database connection from within my laravel app. But how can I install phpMyAdmin, so I can view the database? Can I do this from the Git Bash command line?
What steps do I have to take to get the copied projects from WAMP working on Homestead? (aside from migrate en db:seed)
My homestead.yaml file:
folders:
- map: ~/WebProjects/Code
to: /home/vagrant/Code
sites:
- map: site1.local
to: /home/vagrant/Code/site1/laravel/public
- map: site2.local
to: /home/vagrant/Code/site2/laravel/public
- map: site3.local
to: /home/vagrant/Code/site3/laravel/public
- map: site4.local
to: /home/vagrant/Code/site4/laravel/public
My hosts file:
192.168.10.10 site1.local www.site1.local
192.168.10.10 site2.local www.site2.local
192.168.10.10 site3.local www.site3.local
192.168.10.10 site4.local www.site4.local
When I visit site4.local in the browser it uses the site1 folder where I have a fresh install of Laravel 4.
site2.local was using the correct folder site2 with a Laravel 5 installation, but after a vagrant provision command it also uses the site1 folder. I used vagrant provision to reconfigure the vagrant managed machine, hoping it would fix these issues. Even php artisan serve from within the site4 folder, redirects me to the site1 folder when visiting localhost:8000. Am I doing something wrong?