Laravel プロジェクトで、vagrant up
実行後に環境が立ち上がりませんでした。
vagrant up で settings file not found
vagrant up
Homestead settings file not found in /Users/pugiemonn/Documents/pugiemonn.com/vendor/laravel/homestead
Homestead settings file
が無いと書いてあります。一体これは何のことかなと思いました。
Homestead.yaml を生成する
ドキュメントを見ると、 composer で Homestead をインストールした後に、Vagrantfile
と Homestead.yaml
を生成せよとあります。
php vendor/bin/homestead make
Homestead Installed!
Homestead.yaml
が生成されました。
再度 vagrant up
vagrant up
Bringing machine 'pugiemonn' up with 'virtualbox' provider...
==> pugiemonn: Importing base box 'laravel/homestead'...
略
今度は環境が立ち上がりました(☝ ՞ਊ ՞)
参考
https://github.com/laravel/homestead/issues/519
https://readouble.com/laravel/5.5/ja/homestead.html