Skip to main content
Home
Drupal life hacks

Main navigation

  • Drupal
  • React
  • WP
  • Contact
  • About
User account menu
  • Log in

Breadcrumb

  1. Home

DDEV

By admin, 26 January, 2025

To create a custom ddev command for running php bin/magento in a Magento project

To create a custom ddev command for running php bin/magento in a Magento project, follow these steps:


1. Open the .ddev/commands/web or .ddev/commands/host directory

This is where custom commands for ddev are stored.


2. Create a new file for the command

Create a file named .ddev/commands/web/magento (no file extension) and add the following content:

Tags

  • DDEV
  • Magento
By admin, 5 April, 2024

Streamlining Drupal Development with WSL2, DDEV, and Windows

Using WSL2, DDEV, and Drupal together can provide a powerful development environment for building and testing Drupal projects on a Windows machine. Here's a brief overview of each component:

1. WSL2 (Windows Subsystem for Linux): WSL2 is a compatibility layer for running Linux binary executables natively on Windows 10 and Windows Server 2019. It allows you to run a full-fledged Linux distribution alongside your Windows installation, providing access to Linux tools and utilities directly from the Windows command line.

Tags

  • #Drupal Planet
  • DDEV
  • WSL2
By admin, 3 April, 2024

Simplifying Drupal Development with DDEV and Docker Desktop

Using DDEV and Docker Desktop for Drupal development offers several advantages, including ease of setup, consistency across environments, and scalability. Here's a brief overview:

1. **Easy Setup**: DDEV provides a straightforward way to set up local development environments for Drupal using Docker containers. With Docker Desktop installed, you can quickly initialize a new Drupal project with DDEV and start developing without worrying about complex server configurations.

Tags

  • #Drupal Planet
  • DDEV
DDEV
Powered by Drupal