Get started with local development for Drupal

DDEV and Drupal MidCamp logos

This week in the Drupalverse we are attending MidCamp! We’re in-kind sponsors offering a series of workshops to help you improve your skills with local development as well as some prizes for the raffle. MidWest Drupal Camp traditionally takes place in Chicago, but in March 2020 the organizers made a rapid shift to a virtual event, for which we are very grateful.

The camp focuses on bringing everyone on board, starting with free “how to be a speaker” workshops on Wednesday, plenty of regular and unconference sessions, and local development and contribution workshops. Between the virtual platform and pay-what-you-can tickets, we hope this gives more folks an opportunity to participate, learn, and share their knowledge.

Register now and hop into the virtual venue! The camp is over, and the sessions are available to watch on YouTube! Thank you Kevin Thull for making recordings happen.

Importance of local development environment for Drupal contributions

In order to contribute to Drupal as an open source project or to work on any web development project as a contributor to the code, you’ll want to be able to run a copy of the project locally. Historically, folks used the built-in LAMP stack on Mac, or worked with MAMP, or any number of other tools. Lately, the community has been focused on Docker-based tools because of containerization and the ability to provide simple, user-friendly commands.

Some background reading and additional resources:

For MidCamp we’ll be using the latest release of the Quicksprint package, which you may download and install in advance or just download and wait for the workshop to walk through the details. 

MidCamp DDEV schedule

The many ways to contribute to Drupal

For a non-code contribution overview, join AmyJune on Thursday at 11 CT. Then on Saturday, join for the first time contributor workshop to learn more about the Drupal issue queue and how to work with others. You’ll learn more about how marketers, project managers, organizers, designers, and writers (among many others) can bring their valuable skills to the project. 

Read more about the who, how, and why of Drupal contributions as presented by AmyJune at Florida Drupal Camp 2021.

Get the full scope of contribution opportunities at MidCamp on Saturday. Recording here.

You have a local PHP development environment!
What’s next?

Now that you’re set up with DDEV-Local (and hopefully had a chance to try out those Drupal contributions), what else can you accomplish? Since you’re likely already tracking your project with Git, it’s easy enough to push the repository to GitHub or GitLab. From there, you can start collaborating with other folks, and reference that repository from other tools for testing, CI/CD, or push to a hosting provider. 

DDEV offers production hosting on DDEV-Live. You can create a new project directly in the DDEV UI online, or from the command line, by referencing your hosted Git repository. Read more on deploying here.

DDEV-Live includes the ability to create preview sites on the platform, regardless of whether you use it for production hosting. That means you can call a command in a comment on a pull or merge request and instantly spin up a preview site. Read more about DDEV Preview here.

All parts of the DDEV platform can be used independently of each other to piece together your preferred tools and workflow. Use Lando with Tugboat and DDEV-Live, use DDEV-Local with DDEV Preview and Pantheon. We love to hear about your unique strategy, please tag #DDEV/@ddevHQ to share with the global community!

Share this post: