pixelpiloten/basebox

There is no license information available for the latest version (dev-master) of this package.

A base vagrant box for developing with PHP and specificly set up for Drupal.

dev-master 2016-05-30 13:34 UTC

This package is not auto-updated.

Last update: 2019-03-14 09:52:28 UTC


README

To be used as base for your Vagrant-box for all drupal 8 projects.

Installation instructions

  1. Copy example.Vagrantvariablesyml and name it VagrantVariables.yml and add settings for the box as specified.
  2. Replace the default ip 192.168.10.20 in the file provision/inventory with the one you have added in VagrantVariables.yml.
  3. Add the hostname of the website to your host-file, for example:
     192.168.10.20   wkbasebox.dev www.wkbasebox.dev
    
  4. Start the box.
     vagrant up
    
  5. Login to the box.
     vagrant ssh
    
  6. Inside the box: Create your Drupal 8 installation-profile with dropcat, replace profilename with name of your choice.
     dropcat init -p profilename
    
  7. On the host machine: Download drupal and other dependencies with composer inside /srv/www/basebox/application (the extra composer install is because of a bug).
     composer install && composer install && composer update
    
  8. Inside the box: Install drupal using the created installation-profile name, inside /srv/www/web.
     drush si profilename --account-name=admin --account-pass=admin
    

Caching

To restart varnish:

sudo /home/vagrant/restart-varnish.sh