poltspa.blogg.se

Drupal vm alias
Drupal vm alias








the 7.3 that ships with BLT out of the box).

drupal vm alias

Here are a few things I did…Ĭhanged the PHP version to 7.4 (vs. The next step is to start tweaking the VM config. BLT provides a recipe for this! I just did: blt recipes:drupalvm:initĪgain, when BLT asked me if I wanted to provision the VM I did not. The next thing I did was configure my Drupal VM but I did not provision it. If there’s interest, I can post a similar tutorial for doing this with Lando in the future.

drupal vm alias

composer require acquia/blt-drupal-vmĪ brief note: I have been doing a lot with Lando recently! But I am working with a customer who is already using Drupal VM, so I did this work there. composer create-project -no-interaction acquia/drupal-recommended-project multisite Here’s the command I ran to instantiate the project locally. Either will work, but the Acquia version comes pre-baked with some of the BLT stuff in it. I tend to use acquia/drupal-recommended-project over drupal/recommended-project. Obviously hosting platforms can and do support multisite platforms of this size and scale but trying to manage that many locally might be a bit challenging. I also want to give a general disclaimer that if you are planning on running a multisite platform with “hundreds or thousands” of sites, setting up a local multisite for all of those sites might not be advised. īefore I jump in, a shoutout to my colleague Beverly Lanning who has extensively documented this process over on Acquia’s Knowledge Base (and this material was very helpful as I worked through this process last week). If you want to see the end result and/or follow along, I have created a public facing Github repository that you can look at for an example. Note: as of BLT 12 you may need to also add the plugin if you get any errors about the Multisite recipe not existing.

drupal vm alias

I’ll be using the following tools in this tutorial: That’s really useful background information, but let’s take it a step farther: what if you want to experiment with Drupal 9 multisite? What if you want to take it for a whirl? Unfortunately it’s something you can just “do.” It takes a bit of effort to get everything up and running. I spent some time in late 2020 blogging about some of the planning you need to do if you want to go with Drupal multisite for your platform.










Drupal vm alias