Once the process is complete, you will have a Drupal codebase available inside the drupal/ directory of the project. Type in vagrant up, and let Vagrant do its magic.Open Terminal, cd to this directory (containing the Vagrantfile and this README file).Create a local directory where Drupal will be installed and configure the path to that directory in config.yml ( local_path, inside vagrant_synced_folders).(Optional) Copy to config.yml and modify it to your liking.Download this project and put it wherever you want.Versions: Make sure you're running the latest releases of Vagrant, VirtualBox, and Ansible-as of 2020, Drupal VM recommends: Vagrant 2.2.x, VirtualBox 6.1.x, and Ansible 2.9.x.NFS on Linux: If NFS is not already installed on your host, you will need to install it to use the default NFS synced folder configuration.For stability: Because every version of VirtualBox introduces changes to networking, for the best stability, you should install Vagrant's vbguest plugin: vagrant plugin install vagrant-vbguest.For faster provisioning (macOS/Linux only): Install Ansible on your host machine, so Drupal VM can run the provisioning steps locally instead of inside the VM.(Parallels Desktop 11+ requires the "Pro" or "Business" edition and the Parallels Provider, and VMware requires the paid Vagrant VMware integration plugin). You can also use an alternative provider like Parallels or VMware. cd into this project directory and run vagrant up.īut Drupal VM allows you to build your site exactly how you like, using whatever tools you need, with almost infinite flexibility and customization! 1 - Install Vagrant and VirtualBoxĭownload and install Vagrant and VirtualBox.Download or clone this project to your workstation.If you want to install a Drupal site locally with minimal fuss, just: You can also use Drupal VM with Composer, a Drush Make file, with a Local Drupal codebase, or even a Drupal multisite installation. This Quick Start Guide will help you quickly build a Drupal 9 site on the Drupal VM creating a new Composer project. Set drupal_major_version: 7 inside config.yml.Update the Drupal version and core inside your file.If you want to use Drupal 7 on the initial install, do the following: Set drupal_composer_project_package: inside config.yml.Set drupal_major_version: 8 inside config.yml.If you want to use Drupal 8 on the initial install, do the following: or : Contains configuration for the Drupal core version, modules, and patches that will be downloaded on Drupal's initial installation (you can build using Composer, Drush make, or your own codebase).config.yml: Override any of the default VM configuration from customize almost any aspect of any software installed in the VM (more about configuring Drupal VM.There are a couple places where you can customize the VM for your needs: Documentationįull Drupal VM documentation is available at Customizing the VM Please read through the rest of this README and the Drupal VM documentation for help getting Drupal VM configured and integrated with your workflow. It should take 5-10 minutes to build or rebuild the VM from scratch on a decent broadband connection. MailHog, for catching and debugging email.Adminer, for accessing databases directly.Blackfire, XHProf, or Tideways for profiling your code. Selenium, for testing your sites via Behat.If you'd like to use Drupal VM with Docker, please read the Drupal VM Docker documentation.ĭrupal VM installs the following on an Ubuntu 18.04 (by default) linux VM: The rest of this README assumes you're using Vagrant and VirtualBox (this is currently the most flexible and widely-used method of using Drupal VM). There are two ways you can use Drupal VM: Thank you to all users and maintainers over the past decade!ĭrupal VM is a VM for Drupal, built with Ansible.ĭrupal VM makes building Drupal development environments quick and easy, and introduces developers to the wonderful world of Drupal development on virtual machines or Docker containers (instead of crufty old MAMP/WAMP-based development). DEPRECATION NOTICE: Drupal VM is no longer maintained, and no new releases will be made.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |