Installing Varbase locally with DDEV

DDEV is an open source tool for launching local web development environments in minutes. It supports PHP and other languages.

Learn more about DDEV on the official website: https://ddev.com

Steps to Setup Varbase with DDEV

Install DDEV on your machine. Whether you’re using Linux, Mac, or Windows, there’s a package for you. Follow this guide to install DDEV.

1- Create a folder for a local Varbase project

mkdir my-varbase-project
cd my-varbase-project

2- Configure and Start DDEV in the folder

  • ddev config --project-type=drupal11 --docroot=docroot
    ddev start

3- Create a Varbase Project in DDEV

ddev composer create-project vardot/varbase-project:10.1.0-alpha1

Launch the DDEV url in the Default Browser

ddev launch

You’re all set! Enjoy working with Varbase and DDEV!

Check DDEV Status

  • Verify the status of your DDEV project by running:

    ddev status

Quick Install Varbase with DDEV

Example:

 ddev install-varbase demo

Extra DDEV Configs

For more information on the DDEV file configuration, read more on

Adding DDEV to an existing Varbase project

  1. Download config.yaml file and .ddev folder from the Varbase project repository https://github.com/Vardot/varbase-project .

  2. Proceed with steps 1, 2, 3, and 4 mentioned above.