jeudi 23 février 2017

Correct way of putting Homestead.yml into VCS

I have a homestead.yml file that looks something like this:

---
ip: "192.168.10.10"
memory: 2048
cpus: 1
hostname: example.app
name: example
provider: virtualbox

authorize: ~/.ssh/id_rsa.pub

keys:
    - ~/.ssh/id_rsa

folders:
    - map: "C:/Users/yahya/Documents/example-project"
      to: "/home/vagrant/example"

sites:
    - map: example.app
      to: "/home/vagrant/saroia/public"

databases:
    - homestead

I want to checkout this file in to VCS.

The issue I have is that people will have different values for certain paths. Mainly the folder that is being mapped i.e. C:/Users/yahya/Documents/example-project.

How can I get around this?



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2kSkRbP
via IFTTT

Aucun commentaire:

Enregistrer un commentaire