How to Install Drupal on Windows Using DDEV?

  • Sundew
    Sundew
  • sundew
    4 min.read
  • sundew
    December 12th, 2024
  • Technology
sundew

Setting up Drupal on Windows can be a seamless process with the right tools at your disposal. DDEV, a powerful and user-friendly local development environment, makes it easier than ever to install Drupal on Windows

This step-by-step approach provides a clear and professional roadmap to get your Drupal site up and running effortlessly. 

Let’s dive in and simplify your development journey!

What is Drupal?

Drupal is a powerful tool for building websites and applications. What makes it special is its flexibility and scalability. While you can use Drupal’s core features for easy content management and robust security, the ability to extend and customize it sets it apart.

Drupal is designed to be modular. This means you can add extra features with thousands of available modules, tailor the look of your site with various themes, or use pre-packaged distributions as a starting point. 

Whether you’re looking to integrate it with other services or build a unique digital framework, Drupal’s flexibility lets you create a tailored experience that meets your needs. It’s a go-to choice for anyone needing a robust, adaptable content management system.

DDEV: An Introduction

DDEV is an open-source platform designed to simplify the development, testing, and deployment of PHP-based web applications, including Drupal.

Drupal development with XAMPP vs Docker: Which is Better?

When setting up a local development environment, you can choose between Docker with Windows Subsystem for Linux (WSL) or XAMPP for Drupal installation on Windows. 

Here’s a quick comparison:

 

WSL with Docker

XAMPP

         Pros

Consistent across different environments

Simple and easy to install

Isolates applications and dependencies

Provides an all-in-one package with Apache, MySQL, PHP, and Perl

Great for complex, scalable projects

Quick setup for smaller projects

         Cons

Steeper learning curve

Less flexible and scalable

More setup time

Can lead to conflicts with multiple projects

 

To install Drupal on Windows, your choice depends on your needs: Docker with WSL2 offers unmatched flexibility and scalability, while XAMPP provides a simpler, faster setup for quick deployment.

 

Installing DDEV on Windows Using WSL2

Note:- Please Enable HypervisorPlatform and Windows Subsystem for Linux Options by visiting Turn Windows features on or off.

Turn Windows Features on or Off

Step 1: Install WSL.

wsl install

Step 2: Verify that you have an Ubuntu distro set as default by running
wsl.exe -l -v  .If you have WSL2 but not an Ubuntu distro, install one by running  wsl.exe --install Ubuntu       

Step 3: Verify that your Ubuntu default distro is WSL v2 using wsl -l -v 

Step 4: In an administrative PowerShell, run this PowerShell script by executing:

Set- execution policy

 

In the Windows Update settings, navigate to Advanced Options and activate the option to Receive updates for other Microsoft products. 

 

This ensures your system stays up-to-date with the latest features and security patches beyond Windows itself.

 

Additionally, it's a good idea to periodically run the command wsl.exe --update to manually check for and apply any updates to the Windows Subsystem for Linux (WSL).

 

Once set up, you can access your Ubuntu distribution using either the Ubuntu terminal app or the Windows Terminal. 

 

Your Ubuntu distribution should have DDEV and Docker fully operational, providing a seamless development environment on your Windows machine.

 

Step 5: Check ddev and docker are working or not using:

ddev version

 

docker version

 

Drupal Installation on Windows Using DDEV

 

Step 1: Open terminal access WSL using the command:

wsl

 

Step 2: Create a folder and give that folder read and write permission using the sudo command:

For creating Drupal:

mkdir drupal

 

For checking permission:

sudo chmod

 

Step 3: Once the folder is created and permission is set, then download Drupal.

To download Drupal Core, its libraries, and other dependencies, run this command:

ddev composer create project drupal

 

Step 4: Now download one final component called Drush.

ddev composer require

 

Step 5: After Drupal installation on Windows, launch your Drupal site by running the following command, which will automatically open it in a browser:

ddev launch

 

You will come across the default Drupal installation wizard.

 

drupal installation process for profile selection

 

Step 6: Checking Your Permissions (if asked for permissions)

During the process to install Drupal on Windows or upon loading the welcome page, you may encounter a warning related to the permission settings of the /sites/default directory and the settings.php file inside it.

 

After the installation, Drupal will attempt to adjust the permissions of the /sites/default directory to make it readable and executable for all groups (permission mode 555)

 

Additionally, the system will try to set the settings.php file to read-only (permission mode 444)

 

If this warning appears, it is crucial to manually apply the necessary permissions using the following chmod commands from your project’s root directory:

 

Failure to correct these permissions could expose your site to security vulnerabilities. Make sure to execute these commands to ensure your site remains secure.

 

sudo chmod 555

 

With the above guide, it doesn’t have to be a daunting task to install Drupal on Windows using DDEV. By following these steps, you can set up a robust, local development environment that’s both efficient and reliable. Whether you’re a beginner or a seasoned developer, this approach will streamline your workflow and set the foundation for success. 

Thoughts and Trends
Across Our Focus Areas

sundew

Blog

Data Storage Decoded: Data Warehouse vs Data Lake Explained

As organizations race to harness the power of data, choosing the right storage strategy has become a mission-critical decision. One of the most common debates in this space is data warehouse vs data lake: two fundamentally different approaches to storing and managing data. While both serve as repositories, they differ drastically in structure, purpose, and use.A data lake is a massive, unstructured pool that stores raw data of all types, often before its purpose is even defined. In contrast, a data warehouse is a structured, purpose-driven system built to store processed historical data for fast querying and business intelligence.The important part is making informed decisions tailored to your data strategy. To do so, let’s decode the differences, strengths, and best-fit scenarios of data warehouse vs data lake.Understanding Data WarehouseA data warehouse is a structured, curated, and business-ready data repository designed specifically for reporting, analytics, and decision-making.Some of its notable functions include:Storing cleaned, processed, and organized data.Using a schema-on-write model, data must conform to a predefined structure before being stored.Ideal for structured queries, KPI tracking, and historical trend analysis.Common Data Warehouse PlatformsSnowflakeAmazon RedshiftGoogle BigQueryUse Case ExampleA retail company uses a warehouse to track sales performance by product and region. Insights are fast and reliable. Warehouses prioritize speed and accuracy, which are ideal for reporting and forecasting. Their structure supports compliance, governance, and enterprise standards.Benefits of Data Warehouses1. Performance & AccuracyBuilt for speed and reliability in querying and reporting.Supports dashboards, executive KPIs, and ad-hoc analysis.2. Optimized for Business IntelligenceSeamless integration with BI tools like Tableau, Power BI, and Looker.Supports SQL-based querying, data visualization, and real-time analytics.3. Governance & Compliance-ReadyStructured environment supports data governance and regulatory compliance.Ideal for industries requiring audit trails and data lineage.4. Enterprise-Grade InfrastructureFeatures like partitioning, indexing, and performance tuning optimize large-scale analytics.Ensures data consistency, quality, and accessibility for enterprise teams.Industry RelevanceData warehouses are trusted by financial services, healthcare, government, insurance, and other regulated sectors for their:TraceabilityTransparencyAuditabilityThey serve as the single source of truth for strategic business operations.Data Lakes ExplainedA data lake is a flexible, scalable, and schema-on-read storage system that allows organizations to ingest and retain data in its raw form, structured, semi-structured, or unstructured, without needing to format it at the time of ingestion.Accepts all data types: logs, videos, sensor data, JSON, etc.No upfront data modeling needed (schema-on-read).Enables direct exploration by analysts, engineers, and data scientists.Popular Data Lake PlatformsAmazon S3Azure Data Lake Storage (ADLS)Hadoop Distributed File System (HDFS)Use Case ExampleA media company stores videos, user logs, and transcripts for later machine learning use. Lakes store everything, making them ideal for innovation. They’re also cost-effective, making use of cheap storage to scale quickly. But they require governance to avoid becoming data swamps.Benefits of Data Lakes1. Cost-Efficient ScalabilityUses low-cost object storage to handle petabytes of data.Scales quickly without the need for complex transformation processes.2. Ideal for Innovation and ExperimentationSupports fast, flexible ingestion for IoT, social media, clickstream, and more.No rigid ETL pipelines. Teams can move from raw data to insight rapidly.3. Advanced Analytics & AI-ReadyIntegrates with tools like Apache Spark, Hive, TensorFlow, and more.Enables real-time data analytics, machine learning, and predictive modeling.4. Extensible & AgileIngests new data sources instantly without re-architecting.Empowers departments (marketing, R&D, customer success) with fast access to data.5. Collaborative Analytics EcosystemPrep and transform data with data engineering.Data scientists model and experiment.Analysts visualize and deliver insights, all from a shared environment.Key Differences Between Data Warehouses and Data LakesThe table below simplifies the data warehouse vs data lake comparison. Each model serves a different strategic goal. Business leaders must evaluate based on outcome priorities, not buzzwords.Using a Data Lake vs Data WarehouseChoosing the right data storage type between a data lake and a data warehouse hinges on your business objectivesA data warehouse would be the ideal choice if an enterprise needs structured, reliable data for tasks like financial reporting, KPI tracking, or regulatory compliance.Contrarily, a data lake is more suitable for unstructured or semi-structured data like clickstream logs, IoT feeds, or for running machine learning models and advanced analytics.Key Decision FactorsWhen evaluating your architecture, consider the following:Data maturity and your current analytics ecosystemCompliance and governance needsTypes of users (business analysts, data scientists, engineers)Scalability requirementsTechnology and infrastructure investmentsAdditionally, look into the following:Data Governance ImplicationsData warehouses come with built-in governance, lineage, and access control features.Data lakes require active investment in tools for Metadata management, Role-based access, Data cataloging, and tracking.Cost OptimizationWarehouses are compute-intensive and more expensive due to their processing requirements.Lakes offer cost-effective storage at scale but may trade off performance if not well-managed.Why Most Organizations Need Both?In modern data architectures, it’s rarely an either/or scenario. Many enterprises adopt a hybrid strategy where:Data warehouses support business intelligence and operational reporting.Data lakes power innovation, experimentation, and long-term data storage.This model balances agility, performance, and cost-efficiency, delivering the best of both systems.Emerging Trends: The Rise of the LakehouseThe gap between lakes and warehouses is being bridged by lakehouses. They combine structure with flexibility. Lakehouses enable advanced analytics on raw data without moving it. Platforms like Databricks and Snowflake now support this hybrid model.Lakehouses reduce duplication and streamline pipelines. One system, multiple outcomes. They also enable real-time analytics and cost optimization. This evolution supports the growing demand for unified data architectures.By unifying transactional and analytical workloads, lakehouses eliminate silos. You can build data products faster. Data engineers spend less time moving data and more time delivering value.Real-time decision-making is a key advantage. Lakehouses enable predictive modeling on streaming data. This is crucial for dynamic industries like e-commerce, logistics, and fintech.Security is built-in. You get encryption, compliance, and versioning out of the box. These capabilities make lakehouses enterprise-ready.The lakehouse is becoming a strategic standard. Enterprises want agility and governance in one place. Expect more companies to shift to this model in the next 2 - 3 years.Final ThoughtsThe difference between a data warehouse and a data lake is strategic. Warehouses offer precision and governance. Lakes bring flexibility and scale. Together, they form a powerful ecosystem.Businesses should evaluate current needs and future goals. You should refrain from falling into the trap of choosing either one. Use both to maximize the full data value. Stay ahead by building modern, hybrid data architectures. Embrace lakehouses if you want the best of both worlds.Choose architecture that fits your vision, not just your data. Leverage tools that match your outcomes. Invest in governance and scalability early. The future of enterprise intelligence is unified, flexible, and real-time. Your architecture should reflect that.

Read More
sundew

Blog

Automation in Retail Enhancing Efficiency and Customer Satisfaction

Introduction:Automation in the retail industry acts as a catalyst for digital transformation, streamlining processes, operations, and management. In this article, we explore the various facets of automation in retail, delving into its role in enhancing efficiency and customer satisfaction.Defining Automation:Automation leverages technological advancements to achieve desired outcomes with minimal human input. Innovative tools, software, and technologies are employed to automate repetitive tasks, ensuring a seamless and risk-free work environment in the retail sector.Challenges in the Retail Sector:The retail sector faces numerous challenges, including changing customer demands, supply chain risks, cost management, cybersecurity threats, and more. Automation serves as a solution by integrating software and tools to streamline operations, ensuring consistency, and effectively managing time.Understanding Automation in Retail:Automation in retail involves the application of innovative technologies to perform repetitive tasks, minimizing human intervention. It acts as the foundation for enhancing agility, efficiency, reducing costs, and improving customer experiences. Chatbots, personalized emails, and Robotic Process Automation (RPA) are prominent tools addressing evolving customer expectations.Key Statistics:The global retail automation market is estimated to be worth approximately 14.9 billion USD in 2023, projected to grow to 33 billion USD by 2030.AI tools in retail operations had a market value of 4.84 billion USD in 2021, expected to reach 31.18 billion USD by 2028 globally (statista).Impact on Efficiency and Customer Satisfaction:Retail automation surpasses manual operations by addressing challenges inherent in a competitive market. It enhances transparency, predicts demand for inventory management, and boosts efficiency and customer satisfaction. Cost reduction is a significant benefit, achieved by replacing manual labor with automated tools, eliminating stress on profit margins.Cost Management Areas Affected by Automation:Inventory management: Optimizes sales and profit.Customer service: Promotes time management and cost savings.Automated order processing: Lowers the cost of manpower integration.Streamlined Processing:Automation reduces reliance on manual labor and traditional systems, predicting retail trends and managerial operations through data analytics. It streamlines online retail functions, minimizing human errors in handling repetitive tasks, and facilitates strategies like ERP, chatbots, and automated emails.Customer Satisfaction Enhancement:Automation bridges the gap between technological demands and shifting customer interests, fostering a direct connection between manufacturers, distributors, local suppliers, and customers. It encourages eCommerce and analyzes purchasing patterns to provide personalized recommendations, nurturing customer loyalty and a fulfilling customer journey.Components of Retail Automation:Point-of-sale (POS) Solutions: Enhancing Decision-Making for Product DemandPoint-of-sale solutions play a pivotal role in retail automation by transforming the manual data updating system. These systems allow for regular data input across multiple locations in retail chains. By providing real-time data on sales and customer preferences, POS solutions empower retailers to make informed decisions about product demand. This, in turn, helps in maintaining a high level of customer satisfaction by ensuring that the right products are available when and where they are needed.Customer Relationship Management (CRM) Tools: Analyzing Market Trends for Personalized Service DevelopmentCRM tools in retail automation serve as powerful engines for analyzing market trends and customer behavior. By consolidating data from various sources such as emails, social media, and market data, CRM tools provide valuable insights into evolving customer demands. This information is crucial for the development of personalized services and experiences, fostering a deeper connection between retailers and their customers. Chatbots integrated into CRM tools further enhance customer interactions by providing timely and relevant information.Automated Inventory Management Systems: Facilitating Effective Supply Chain ManagementAutomated inventory management systems form the backbone of efficient supply chain management in the retail sector. By integrating artificial intelligence, these systems streamline the handling of customers, goods, demand forecasting, and market fluctuations. The advanced data analytics provided by automated inventory management systems enable retailers to manage their inventory effectively, minimizing the risk of overstocking or stockouts. This not only reduces operational costs but also ensures that customers can find the products they need when they need them.Video Analytics: Predicting Customer Buying Behavior to Enhance SalesVideo analytics in retail automation leverage smart technology to provide insights into customer behavior. This involves using data extracted from in-store management systems to predict buying patterns and preferences. By understanding customer behavior through video analytics, retailers can optimize store layouts, product placements, and promotional strategies. This proactive approach enhances the overall shopping experience, leading to increased sales and improved customer satisfaction.Self-Service Checkouts: Improving Customer Experience with Accurate Details on ProductsSelf-service checkouts represent a user-friendly facet of retail automation that directly impacts the customer experience. These systems enable customers to make successful payments by scanning barcodes, ensuring a swift and accurate checkout process. By providing detailed information on quantity, pricing, and other product details through barcode scanning, self-service checkouts enhance customer satisfaction. This automation feature not only expedites the checkout process but also empowers customers with accurate product information, contributing to a positive overall shopping experience.In conclusion, the components of retail automation work synergistically to transform traditional retail processes. Through utilizing the power of technology in point-of-sale, customer relationship management, inventory management, video analytics, and self-service checkouts, retailers can adapt to changing market dynamics, optimize operations, and elevate the customer journey.

Read More
sundew

Blog

Internet Of Things – Letting Businesses Go Digital

As per the recent report of Gartner, 20.4 billion connected things will be in use worldwide by 2020.  The implementation of IoT witnesses a new wave of progress in businesses. Technology has undoubtedly become the catalyst for many innovations. In a nutshell, the obvious key benefits of IoT implementation have been faster and efficient production, improvement in quality, replacement of paper-based workflows, and so on. But is the IOT just limited to a few of these advantages? Let us walk through the major features in IoT thtechnology, innovation, at lets various industry verticals go digitally successful.Benefits of digitizing with IoTDigital Transformation is employed by many industry verticals to leverage the benefits of digitizing with IoT for building their brand, improving ROI, connecting with customers, and many more. The first IT revolution commenced with the advent of the Internet and e-commerce. Later on, technology leaped the bounds to innovations via smartphones, user-centric applications, IoT, AI and so on. This is where connected devices found out their deep involvement. Consumer solutions evolved to be a critical catalyst for IT consumerization.Social, Mobile, Analytics, and Cloud offers a platform for IoT that gives industries the ability to transform into digital standardization. Let’s walk through the major benefits of digitizing with IoT.1. Enabling Connectivity through IoT For Data-Driven InsightsSmart access is the key to a successful digital environment in any industry. Being able to track the metrics of performance and operations is possible via data analytics. The insights are achieved through pattern recognition of unstructured and structured data. These data-based insights are incorporated into the business functions where previous activities are tracked and monitored to develop forecasts.The data-driven insights help in understanding customer buying decisions and in obtaining real-time reviews. This helps industries personalize their data to target the right set of customers. Structured data, which is the personal information and unstructured data which is the social media metrics, are both used by industries for critical decision-making. Alongside IoT, the role of generative AI in supply chain is also transforming how industries predict demand, optimize logistics, and create smarter workflows.2. Enabling Smart IoT Enabled AppliancesVarious industry verticals can optimize their operations without the need for workforce assistance. This saves time and cost. The workforce can now automate their tedious tasks by being able to connect to multiple devices and operate in real-time. Industries can boost their performance and productivity by increasing both customer and employee engagement.3. Increase Workflow Optimization with Smart InfrastructureWhen large volumes of data are analysed, it makes way for industries to convert them into more useful insights. These insights are then used for making decisions.4. Transform Customer experience With IoTImproved customer UX requires the implementation of the latest trends in IoT. So when User Experience is king, many front line industries have realized that digitally transforming their businesses with IoT is key to gaining successful outcomes.5. Enhance and Update skillsWith the advent of IoT implementation in businesses, the need for specialized skills has also increased. These skills include knowledge in Artificial Intelligence, Augmented Reality, Data Analytics, Machine Learning, Cloud Computing, Growth Hacking, and so on.6. Consolidate the Entire Architecture and WorkflowDigitizing with IoT has provided businesses with the advantage of being able to communicate in real-time. Not only does it bring the working force together, to work, but also optimizes the whole architecture.Leveraging on data analytics and IOT have generated over 30 million dollars. It is high time to take action to digitally transform your business with IoT for sustained outcomes. Call our experts right away for step-by-step guidance on how to strategically transform your business with the Internet of Things.

Read More

Thank You!

Excellent!

Successfully subscribed to Sundew Solutions newsletter!

Acknowledged