Homestead 2.0 multiple sites, all link to the same url

后端 未结 3 543
-上瘾入骨i
-上瘾入骨i 2021-02-01 22:44

Hee guys, little question: So i have setup the Homestead 2.0 and everything is working fine. I wanted to add another project in the same code directory but link it to another ur

3条回答
  •  鱼传尺愫
    2021-02-01 23:37

    Assuming your Homestead.yaml file above

    type in:

    $ vagrant global-status
    

    will display something like;

    id    name      provider   state   directory    
    --------------------------------------------    
    77c5c30  default   virtualbox running et....    
    

    type in:

    $ vagrant provision 77c5c30
    

    Of course this assumes you only have 1 VM, if you have others then read the instruction when you run vagrant provision

提交回复
热议问题