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
115 stars 46 forks source link

Add DDEV support #49

Closed gitressa closed 4 months ago

gitressa commented 4 months ago

It would be nice if quick-start does not run, if the environment is DDEV. For now, the workaround is this method, to be included in the README:

DDEV installation

If you don't have PHP and Composer installed on your host machine, you can try in DDEV:

mkdir starshot && cd starshot
ddev config --project-type=drupal --docroot=web
ddev start
ddev composer create drupal/starshot-project --repository='{"type":"vcs","url":"https://github.com/phenaproxima/starshot-prototype"}' --stability=dev

After the download completes, you probably get an error since drupal quick-start doesn't work in DDEV. Stop the server with Ctrl-C, and create login link:

ddev drush uli -l https://starshot.ddev.site

Maybe one or more custom commands can be created, to make the DDEV installation work smoother?

gitressa commented 4 months ago

I created https://github.com/ddev/ddev/issues/6158 to alert DDEV developers about this issue.

phenaproxima commented 4 months ago

50 fixes this.

gitressa commented 4 months ago

Perfect solution, thanks!