Skip to main content

Managing DDEV environment troubleshooting and setting up multiple Drupal projects

DDEV has become a popular tool for local web development, offering a streamlined approach to managing Docker-based environments. However, setting up and managing DDEV projects, particularly with the latest versions of Docker Desktop, can present challenges. This article guides you through resolving key issues, setting up Drupal, and managing multiple projects effectively.

 

Optimising file transfers by improving efficiency from cp to rsync

Transferring files between development and production environments is a critical task in the deployment process. However, I continue to come across multiple approaches that scale from awesome automation using pipelines to the basic of direct command line entry. Where the basic approaches rely on outdated processes that are inefficient and difficult to maintain.

Enforcing HTTPS on an Nginx server: a step-by-step guide

In today's security-conscious world, enforcing HTTPS on your web applications is no longer optional—it's essential. Whether you're dealing with government reports or routine security audits, failing to enforce HTTPS can trigger warnings that leave you scrambling for a solution.

Best practices and methods on how to create a Drupal 10 patch

When working on Drupal projects, especially in a collaborative environment, it’s crucial to follow best practices for creating and managing patches. Patches are essential for contributing back to the community, applying quick fixes, or sharing custom changes with your team. In this article, we'll explore the recommended method for creating a Drupal 10 patch and discuss when it might be appropriate to use alternative approaches.

Troubleshooting bash script errors - a guide to fixing line endings and hidden characters

If you’ve ever encountered strange errors while running a bash script, you’re not alone. Errors like : not found and Syntax error: end of file unexpected (expecting "then") can be particularly frustrating, especially when the script appears to be perfectly fine. This a situation that I had recently involving such errors and this article shows how I was able to resolve them, focusing on line endings and hidden characters.

Using Terminal shortcuts like a pro for efficient command-line navigation

Have you ever wanted to use Terminal with a more fluid style and increase your speed and efficiency? This article was inspired by watching a colleague navigate long lines of command navigation using only the arrow keys. While my pain threshold is high, seeing this during a group presentation was painful. It's time to sharpen your shortcuts for command-line navigation. Improving your understanding of Terminal can significantly boost your productivity as a developer.

How to efficiently use find and replace in VS Code

When it comes to text editing, Visual Studio Code (VS Code) is one of the most popular tools among developers. One of its powerful features is the Find and Replace function, which can save you countless hours of manual editing. In this article, we'll explore how to use this function to replace all spaces with a newline character, and then go a step further to find spaces followed by alphabetic characters (excluding numerics), and replace them with newlines.

 

Checking if a file exists using command line queries in Ubuntu with Nginx

On a server directory with over 100,000 PDF files, I needed to verify the existence of specific documents. Whether there are a few hundred or whatever the number of files, this article explores the practical use of command-line tools to quickly ascertain whether a file is present. In the area of server management or application development, especially on systems like Ubuntu equipped with Nginx, it's crucial to perform routine checks to ensure that all necessary files are in place.

Subscribe to Terminal