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

如果我通过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 一道python难题2
  • ¥15 一道python难题
  • ¥15 用matlab 设计一个不动点迭代法求解非线性方程组的代码
  • ¥15 牛顿斯科特系数表表示
  • ¥15 arduino 步进电机
  • ¥20 程序进入HardFault_Handler
  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥20 问题请教!vue项目关于Nginx配置nonce安全策略的问题
  • ¥15 教务系统账号被盗号如何追溯设备