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
DDEV is a development tool!
Note that while you can run DDEV in production, it is highly discouraged, not recommended, and 100% not supported! DON'T DO IT!
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
Change the name
value to your project's name.
Edit the .ddev/config.yaml file
For more information on the DDEV file configuration, read more on
Adding DDEV to an existing Varbase project
Download
config.yaml
file and.ddev
folder from the Varbase project repository https://github.com/Vardot/varbase-project .Proceed with steps 1, 2, 3, and 4 mentioned above.