I am trying to set up laravel homestead on my windows 7 machine . I installed vagrant and virtualbox. Also the git bash shell.
did
vagrant box add larave
The error is simple. It's telling you
The host path of the shared folder is missing: /e/Projects/Code/apache/laravel
Your shared folder is missing. According to your question. You are using window. So, window shouldn't work like
cd /e/Projects/Code/apache/laravel
Should be like YourPartitionName:/Yourdirectory
.
Example:
folders:
- map: E:/Projects/Code/apache/laravel
to: /home/vagrant/Projects
The local directory is missing. Just type mkdir followed by the missing shared folder
eg. mkdir /e/Projects/Code/apache/laravel
Exemple: in terminal
cd ~/.homestead
subl Homestead.yaml
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: /media/Arquivos/www/vagrant/Code
to: /media/Arquivos/www/vagrant/Code
sites:
- map: homestead.app
to: /media/Arquivos/www/vagrant/Laravel
databases:
- homestead
variables:
- key: APP_ENV
value: local
# blackfire:
# - id: foo
# token: bar