Skip to content

pbz1912/drupal-dev

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 code 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 is 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?

    Yes. Nothing will be lost when you simply power off the VM.

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

    Nothing. They will be preserved. 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!

About

Drupal development tools

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 61.5%
  • Puppet 32.5%
  • Shell 2.8%
  • Perl 1.9%
  • CSS 1.3%