This is a Vagrant configuration to provision LAMP stack with tools required for Dupal development.
Provisions full stack virtual machine and installs Drupal 7 and Drupal 8 using only 1 command - vagrant up
.
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!
- Drupal devs
- Drupal starters
- [Ubuntu Precise x64] (http://box.puphpet.com/ubuntu-precise12042-x64-vbox43.box)
- git, vim, curl
- Apache 2
- PHP 5.4
- MySQL
- Composer
- XDebug
- APC
- Memcache
- Mail catcher
- Drupal 7
- Drupal 8
Configuration for this box is stored in file /puphpet/config.yaml
.
- MySQL: admin/password
- Drupal 7/8: admin/password
- PHPStorm_settings.jar - PHPStorm settings file with Drupal code formatting standards. Use File > Import Settings from within PHPStorm to apply these settings.
- Install Virtaul Box
- Install Vagrant
- Install Vagrant Host Manager
- Some OSes require NFS server to be installed. OSX has NFS server inbuilt and running by default.
- Download this project and extract it into /www/drupal-dev directory, so that file Vagrantfile is accessible at /www/drupal-dev/Vagrantfile.
- Navigate to /www/drupal-dev/ directory and run
vagrant up
.
-
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.