我从这里的文件中安装了宅基地箱:
https://laravel.com/docs/5.2/homestead
$ vagrant box add laravel/homestead
==> box: Loading metadata for box 'laravel/homestead'
box: URL: https://vagrantcloud.com/laravel/homestead
==> box: Adding box 'laravel/homestead' (v0.5.0) for provider: virtualbox
box: Downloading: https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.5.0/providers/virtualbox.box
box:
==> box: Successfully added box 'laravel/homestead' (v0.5.0) for 'virtualbox'!
我正在使用Windows 7和cygwin。
现在我尝试编辑文件:
〜/ .homestead / Homestead.yaml
ls ~/.homestead
ls: cannot access /home/Darius/.homestead: No such file or directory
所以甚至不存在目录。文档错了吗?这个档案在哪里?
更新
我在计算机上运行搜索但没找到这样的文件。那是为什么?
答案 0 :(得分:0)
运行:
homestead init
应该创建文件homestead.yaml