Warning: lots of composer output coming at you! $ composer create-project acquia/lightning-project madison_example_drupalvm 1/1: $5686d9ec901434a1070a125ee9b807f7701a7c1537f0da971612b518e33537b8.json Finished: success: 1, skipped: 0, failure: 0, total: 1 1/1: $5686d9ec901434a1070a125ee9b807f7701a7c1537f0da971612b518e33537b8.json Finished: success: 1, skipped: 0, failure: 0, total: 1 Creating a "acquia/lightning-project" project at "./madison_example_drupalvm" Installing acquia/lightning-project (8.8.1) - Installing acquia/lightning-project (8.8.1): Loading from cache Created project in /Users/mike.madison/git/examples/madison_example_drupalvm Loading composer repositories with package information Updating dependencies (including require-dev) 1/15: 2/15: 3/15: 4/15: 5/15: 6/15: 7/15: 8/15: 9/15: 10/15: 11/15: 12/15: 13/15: 14/15: 15/15: Finished: success: 15, skipped: 0, failure: 0, total: 15 Package operations: 165 installs, 0 updates, 0 removals - Installing cweagans/composer-patches (1.6.7): Loading from cache No patches supplied. So if you don’t have sudo, let me save you a bit of pain! This isn’t going to work for you.Īssuming your machine already has composer and all the other requirements, we’ll first create a new project (or you can use an existing one if you have one.) Second, to get a DrupalVM up and running you must have sudo access to your machine (and you will need it every time you start and stop it) due to the editing of the hosts file on your machine. I want to quickly cover a few things before we get started on this guide:įirst, Jeff Geerling is a community treasure and if you don’t follow his blog / YouTube, you totally should! I had the pleasure of working with him at Acquia for a number of years and I’m still a big fan of his work. That plugin basically does everything we are going to cover here with a simple recipe ($ blt vm). I also want to mention that if you’re using BLT, DrupalVM support is baked in up to version 11 and available via a plugin in BLT 12 and later. If you haven’t already setup your local machine for PHP development, I would read my post on setting up a new Macbook for Local Development first! I would also recommend having a look at the 5 critical strategies for using virtual environments on teams.Įverything we cover in this tutorial will be uploaded to this Github repository so you can easily clone the code and either follow along or review. This post is all about getting up and running with DrupalVM. I’ve used DrupalVM on nearly every project over the last 4 years and it’s awesome.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |