vagrant share with laravel homestead

前端 未结 4 1335
一个人的身影
一个人的身影 2021-02-08 18:29

I\'m running into an issue getting vagrant share to work in conjunction with the laravel homestead vagrant box. My homestead.yaml file looks like:

---
ip: \"192.         


        
4条回答
  •  生来不讨喜
    2021-02-08 19:27

    Try this command in your homestead directory: vagrant provision

    To get share URL use this command: vagrant share

    Sometimes it doesn't worke on windows. Use vagrant share --http 8000

    8000 is port as homestead uses port forwarding 8000 -> 80

    Note: To use vagrant share you must have ngrok installed.

提交回复
热议问题