ExpressionEngine / coilpack-docs

https://expressionengine.github.io/coilpack-docs/
2 stars 2 forks source link

[DOCS] Add DDEV Notes #4

Closed philipzaengle closed 1 month ago

philipzaengle commented 1 month ago

Today I was doing a clean coilpack install with dev(because I'm a professional).

After installing Laravel, and Coilpack, I arrived at the EE install screen to configure the DB. For some reason ddev doesn't like localhost or 127.0.0.1 as the database host. I got mad, walked around for a little bit and then tried something crazy. I set the db host as db

DB_HOST=db
DB_USER=db
DB_PASS=db
DB_NAME=db

and it worked. I don't know why, but after some googling this seems to be a semi-common point of friction for folks using ddev + another product.

bryannielsen commented 1 month ago

Ah that's great to know, thank you @philipzaengle! I haven't used ddev yet but I should get on that bandwagon. I'm moving this over to the docs repo and I'll try to address it shortly!