1
我爲宅基地創建了這個配置。當我加載http://loc.medifaktor我只是得到返回:「沒有指定輸入文件」家園配置不起作用
本地文件夾結構是正確的,如下所述,所以我看到所有文件,他們都可以訪問。爲什麼它會返回這個錯誤?
---
ip: "192.168.10.10"
memory: 2048
cpus: 1
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
- ~/.ssh/id_rsa
folders:
- map: ~/Documents/Development/Source/
to: /home/vagrant/Source
sites:
- map: loc.medifaktor
to: /home/vagrant/Source/MFServer/public
databases:
- homestead
variables:
- key: APP_ENV
value: local
# blackfire:
# - id: foo
# token: bar
# client-id: foo
# client-token: bar
# ports:
# - send: 93000
# to: 9300
# - send: 7777
# to: 777
# protocol: udp
,這是我的etc/hosts文件:
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
192.168.10.10 loc.medifaktor
127.0.0.1 loc.medifaktor
DOS2UNIX的:/vagrant/scripts/serve.sh:無這樣的文件或目錄 dos2unix:跳過/vagrant/scripts/serve.sh,而不是常規文件。 bash:/vagrant/scripts/serve.sh:沒有這樣的文件或目錄 – sesc360
我該如何改變配置呢?本地文件在〜/ Documents/Development/Source/MFServer – sesc360
之前先試用這個服務commad'cp /vagrant/scripts/serve-laravel.sh/ vagrant/scripts/serve.sh'然後再次運行serve命令。 –