Created
August 18, 2015 15:56
-
-
Save furdarius/08c20cff77ca48a645aa to your computer and use it in GitHub Desktop.
Сказ о том как я Vagrant, Homestead, Cygwin и Rsync ставил.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Устанавливаем Vagrant https://www.vagrantup.com | |
Устанавливаем ConEmu https://github.com/Maximus5/ConEmu | |
Устанавливаем Homestead http://laravel.com/docs/5.1/homestead | |
bash init.sh — Переносит настройки Homestead в %homepath%/.homestead | |
Теперь настройки Homestead будут глобальные | |
Мои настройки: | |
folders: | |
- map: ~/web-projects/homestead | |
to: /home/vagrant/projects | |
type: rsync | |
sites: | |
- map: homestead.local | |
to: /home/vagrant/projects/Laravel/public | |
Образы vagrant хранятся в %homepath%/vagrant-projects, оттуда их и запускать | |
Устанавливаем cygwin https://cygwin.com/install.html | |
При выборе пакетов для установки надо выбрать Net/rsync | |
Прописываем в %path% "C:\cygwin64\bin" | |
Можно использовать https://github.com/rix0rrr/WindowsPathEditor | |
Не забываем в Homestead.yaml указать что синхронизируем rsync'ом, иначе останется по дефолту | |
type: rsync | |
Фиксим ошибку No such file or directory | |
https://github.com/mitchellh/vagrant/issues/3230 | |
В C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.5.1\plugins\synced_folders\rsync\helper.rb | |
примерно на 52 строку добавляем hostpath = "/cygdrive" + hostpath | |
Пускаем Vagrant |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment