For example: ddev drush crĬontainer for a Drupal 9 project Installation of a new project:Ĭreate the root directory: mkdir drupal-9 ddev drush: Direct access to the drush CLI.ddev composer: Allows to run composer inside the container.ddev ssh: Allows access inside the container.For example for a drupal distribution, wordpress, etc. ddev config: Configure a project for ddev.All of them must be executed in the root of the project. With the command ddev or ddev -h we will obtain the list of commands provided by ddev. Once DDEV is installed, we verify the software with the following command: ddev version DDEV commands Installing ddev: curl -LO & bash install_ddev.sh Pre-installation packages: sudo apt install build-essential apt-transport-https ca-certificates software-properties-common curl Once DDEV is installed or updated, we verify the software with the following command: ddev versionĪnd we will be able to check the installed or updated version. If in the future you wish to upgrade the version of ddev on your computer, simply close ddev and upgrade. To install the latest version: brew tap drud/ddev-ede & brew install ddev To install the latest stable version of DDEV: brew tap drud/ddev & brew install ddev Once this manager is installed, the commands to execute are as follows: Installation and configurations Installing DDEV on Linux: Installation via Linuxbrew:įor the installation of ddev it is recommended to install it using the Homebrew package manager on Linux. Git version control (only for the installation of existing projects).Docker version 18.06 or higher and docker-compose 1.21.0 o higher installed. Linux: Ubuntu 16.04+, Debian Jessie + or Fedora 25+.In this post we will see how to install and deploy in a few minutes a local DDEV environment in ubuntu using Drupal 9. One of the objectives of this type of tool is to ensure that local environments are homogeneous, which enhances workflows in development teams, as each member works with the same technological versions. It has different templates for different frameworks/CMS such as generic PHP, WordPress, Drupal, TYPO3, Backdrop, Magento, Laravel, etc. DDEV is an open source tool that uses docker to quickly create local PHP development environments.
0 Comments
Leave a Reply. |