phenaproxima / starshot-prototype

Prototype of a new kind of Drupal, based on recipes and loaded up with contrib's best modules and themes. Not a fork or a distribution.
https://drupal.org/starshot
104 stars 36 forks source link

Remove the line for the project name from ddev config.yaml #96

Closed rpkoller closed 1 month ago

rpkoller commented 1 month ago

If you are trying to follow along

git clone https://github.com/phenaproxima/starshot-prototype.git starshot
cd starshot && ddev install

that totally works fine for the first instance on your computer. but from this point on the name starshot is taken. if you try to git clone and spin up a second instance you will run into the following name conflict:

$> ddev install
Starting starshot... 
Failed to start starshot: project starshot project root is already set to /Users/rkoller/Sites/starshot, refusing to change it to /Users/rkoller/Sites/lala; you can `ddev stop --unlist starshot` and start again if the listed project root is in error 
Failed to start starshot: project starshot project root is already set to /Users/rkoller/Sites/starshot, refusing to change it to /Users/rkoller/Sites/lala; you can `ddev stop --unlist starshot` and start again if the listed project root is in error
Failed to start starshot: project starshot project root is already set to /Users/rkoller/Sites/starshot, refusing to change it to /Users/rkoller/Sites/lala; you can `ddev stop --unlist starshot` and start again if the listed project root is in error

the easiest fix making this approach more flexible is simply avoid to set the project name in the config.yaml file. I've also quickly asked @rfay and he agreed and that life would be a lot easier if this line would be left out.

phenaproxima commented 1 month ago

Seems legit to me...