douqiang4501 2017-03-31 15:15
浏览 201
已采纳

如果我通过vagrant box添加家园,那么homestead.yaml在哪里?

According to https://laravel.com/docs/5.4/homestead I can install Laravel Homestead by doing vagrant box add laravel/homestead. Installing by cloning the git repo is another way but it's not the only way listed nor is it even the first method listed.

Anyway, the next section of the documentation is Configuring Homestead. It talks about homestead.yaml a lot but idk where that file lives. Maybe there are additional steps in the install process that https://laravel.com/docs/5.4/homestead neglects to mention?

  • 写回答

1条回答 默认 最新

  • duanniesui6391 2017-03-31 15:56
    关注

    no its not one or the other, but the 2 steps are necessary

    1. install the vagrant box running vagrant box add laravel/homestead

    2. install homestead from cloning the git repo

      $ cd ~
      $ git clone https://github.com/laravel/homestead.git Homestead
      $ cd Homestead
      $ bash init.sh
      
    3. Review the Homestead configuration

    open the Homestead.yaml file and check all the configuration

    1. boot the VM once you have configured your homestead file

      $ vagrant up
      
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 asp.textbox后台赋值前端不能显示什么原因
  • ¥15 宇视监控服务器无法登录
  • ¥15 PADS Logic 原理图
  • ¥15 PADS Logic 图标
  • ¥15 电脑和power bi环境都是英文如何将日期层次结构转换成英文
  • ¥15 DruidDataSource一直closing
  • ¥20 气象站点数据求取中~
  • ¥15 如何获取APP内弹出的网址链接
  • ¥15 wifi 图标不见了 不知道怎么办 上不了网 变成小地球了
  • ¥50 STM32单片机传感器读取错误