Skip to content

Latest commit

 

History

History
88 lines (71 loc) · 2.83 KB

README.md

File metadata and controls

88 lines (71 loc) · 2.83 KB

Drupal-dev

What is it?

This is a Vagrant configuration to provision LAMP stack with tools required for Dupal development.

What does it do?

Provisions full stack virtual machine and installs Drupal 7 and Drupal 8 using only 1 command - vagrant up.

Why?

Sometimes you just want to start working on a module or module-port and there is no sandboxed environment that allows you to just start. Download this and provision a virtual box - and you are ready to go!

Who is it for?

  • Drupal devs
  • Drupal starters

What's in the box?

Configuration for this box is stored in file /puphpet/config.yaml.

Credentials

  • MySQL: admin/password
  • Drupal 7/8: admin/password

What else is there?

  • PHPStorm_settings.jar - PHPStorm settings file with Drupal coding formatting standards. Use File > Import Settings from within PHPStorm to apply these settings.

Installation

  1. Install Virtaul Box
  2. Install Vagrant
  3. Install Vagrant Host Manager
  4. Some OSes require NFS server to be installed. OSX has NFS server inbuilt and running by default.
  5. Download this project and extract it into /www/drupal-dev directory, so that file Vagrantfile would be accessible at /www/drupal-dev/Vagrantfile.
  6. Navigate to /www/drupal-dev/ directory and run vagrant up.

FAQ

  • Can I shutdown my VM without loosing changes?

    Nothing will be lost when you simple power off the VM.

  • What will happen to installed Drupal 7 and Drupal 8 sites after reboot of VM?

    Nothing. These sites are installed only on the first run.

  • Can this be used for development of real projects?

    Definitely! But you would need to additionally configure YAML file (manually or through PuPHPet website) to contain your project information, such as hostname, share paths etc.

Links

Productivity improvement for Mac!