I’m upgrading Drupal 8 site to Drupal 9, following this helpful guide. Mostly successful but unclear how to specify the /web/ docroot for local development. My steps:
Followed the guide above
Pulled the composerify environment onto my local machine using LocalDev
(opened an SSH terminal via LocalDev)
ran $ composer install in the above term; installed everything
added web_docroot: true to my pantheon.yml
(at this point I had to step away & shut down the local environment)
Restarted my Docker containers (note: had to do this manually, LocalDev failed to start them)
nginx is dutifully serving my local site from /app not /app/web. So for example I can (kind of) see my site if I browse to <project-environent>.pantheonlocal.com/web/, and not<project-environent>.pantheonlocal.com/
Any help is appreciated, thanks, and apologies in advance for asking a HOWTO question in an issue
I’m upgrading Drupal 8 site to Drupal 9, following this helpful guide. Mostly successful but unclear how to specify the
/web/
docroot for local development. My steps:composerify
environment onto my local machine using LocalDev$ composer install
in the above term; installed everythingweb_docroot: true
to mypantheon.yml
/app
not/app/web
. So for example I can (kind of) see my site if I browse to<project-environent>.pantheonlocal.com/web/
, and not<project-environent>.pantheonlocal.com/
Any help is appreciated, thanks, and apologies in advance for asking a
HOWTO
question in an issue