thegbomb / blt-ddev

ddev integration with Acquia BLT
2 stars 0 forks source link

blt recipes:ddev command not available #1

Open prashantdsala opened 10 months ago

prashantdsala commented 10 months ago

@thegbomb First and foremost, I appreciate the excellent work done. I successfully configured BLT with Drupal 10. However, I noticed that the recipes:ddev command was unavailable unless I included the package composer require lcatlett/blt-ddev. It would be highly beneficial if this issue could be addressed.

I've also provided an update on this matter here: https://github.com/lcatlett/blt-ddev/issues/16#issuecomment-1866252523

I used these steps to setup Drupal 10 with DDEV and setup BLT locally:

https://gist.github.com/prashantdsala/192b25a7d6dbfe00240f4d3099f3319c

Hope it will help devs having struggle to setup.

Thank you.

thegbomb commented 9 months ago

Apologies for not replying sooner. I think my recent changes should have fixed this.

Using 1.0.1 version of the project should have fixed some file references that were still pointing to the original forked project.

Hopefully, that removes the need to add the lcatlett/blt-ddev project and the recipe will be available as it is.

As for your other part of the problem you highlight, you are correct that the project is not installable as it is. For it to work you currently need BLT added globally or for BLT launcher to be installed, to be able to run the recipe in the first place.

I will look into the instructions to see if I can make them work better. Perhaps these would work:

composer create-project --no-interaction --no-install drupal/recommended-project drupalblt
cd drupalblt
sudo sed -i '' -e "s|web/|docroot/|g" composer.json
composer require --dev thegbomb/blt-ddev
./vendor/bin/blt recipes:ddev --no-interaction
ddev blt setup
ddev blt doctor
ddev launch