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.
This package's canonical repository appears to be gone and the package has been frozen as a result.
dev-master
2016-05-30 13:34 UTC
Requires
- php: >=5.3.0
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
- Copy example.Vagrantvariablesyml and name it VagrantVariables.yml and add settings for the box as specified.
- Replace the default ip 192.168.10.20 in the file provision/inventory with the one you have added in VagrantVariables.yml.
- Add the hostname of the website to your host-file, for example:
192.168.10.20 wkbasebox.dev www.wkbasebox.dev
- Start the box.
vagrant up
- Login to the box.
vagrant ssh
- Inside the box: Create your Drupal 8 installation-profile with dropcat, replace profilename with name of your choice.
dropcat init -p profilename
- 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
- 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
- http://www.wkbasebox.dev - Is NOT cached via Varnish
- http://www.wkbasebox.dev:8080 - IS cached via Varnish
To restart varnish:
sudo /home/vagrant/restart-varnish.sh