xforty / vagrant-drupal

Template repo for a new drupal project built on top of a vagrant vm.
Other
46 stars 11 forks source link

vagrant-drupal

version 0.4.3 - changelog

A project template for building reproducible and portable local Drupal development environments. If you want to learn more about the project, see the resources section below.

Requirements

Basic Usage

  1. Start on the host by provisioning and logging into a vm:

    host$ git clone git://github.com/xforty/vagrant-drupal.git
    host$ cd vagrant-drupal
    host$ vagrant up
    host$ vagrant ssh
  2. Then build and install a drupal site on the vm:

    vm$ drush make --prepare-install /vagrant/example.make /srv/www
    vm$ cd /srv/www
    vm$ drush site-install --db-url=mysql://username:password@localhost/drupal
  3. Go to http://localhost:4567 and log in to the drupal site with the credentials specified in the site-install output.

Vagrantfile

It is common to modify the Vagrantfile to meet project needs. We encourage you to read through the comments in the Vagrantfile as well as the official documentation for other possible configurations.

Resources


Maintained by xforty technologies