Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

As a consumer of Drupal CMS I want to be able to customize specific details of my installation (e.g. name of webroot and trusted host patterns, database driver/creds) #47

Open
balsama opened this issue May 8, 2024 · 1 comment

Comments

@balsama
Copy link

balsama commented May 8, 2024

The webroot directory name, in particular, is pretty baked into the Composer scaffold. I'd like to figure out how we're going to support this (or reject it) sooner rather than later.

@phenaproxima had some ideas I think?

@phenaproxima
Copy link
Owner

phenaproxima commented May 13, 2024

I'm not sure we're going to be able to fix this outside of core.

Core's install script, which we use, hard-codes the use of SQLite. To my dismay, I discovered that you can't just drush sql:dump a SQLite database and then import it wholesale into MySQL. They speak two slightly different dialects of SQL, so that kind of quickie migration doesn't work. At least not without some messy fiddling around (think find-and-replace) that we definitely should not do.

So we have two options:

  1. Lean on Drush. The problem with this is that Drush doesn't currently support installing directly from a recipe (hopefully it will catch up soon).
  2. Change core so that you can specify the database credentials at install time, either via environment variables or a command-line option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants