manatime Drupal Distribution
brew cask install virtualbox
brew cask install vagrant
brew install ansible
Two plugins are required.
vagrant plugin install vagrant-hostsupdater
vagrant plugin install vagrant-auto_network
Prepare the local site:
composer install
cd .vendor/drush/drush ; composer install
npm install
Create local settings files:
./scripts/local_settings.sh
node_modules/.bin/aquifer extensions-load
node_modules/.bin/aquifer build
Prepare for local development:
Visit http://editorconfig.org/ for instructions on how to configure your IDE or editor to use the included .editorconfig
file.
Edit default.config.yml and update the following:
your-path
(modify as necessary)[Mac/Linux only] Install Ansible Galaxy roles required for this VM: sudo ansible-galaxy install -r provisioning/requirements.yml --force
vagrant up
Configure Solr search (adapted from Solr for Drupal Developers):
./scripts/drupalvm_solr.sh
Prepare the site:
./scripts/manatime_local_install.sh
manatime Distribution
.gitignore
/artifacts/
- Deployable build artifacts./build/
- Build working directory./docs
- Documentation for the distribution./files/
- User files./gulp-tasks
- Individual Gulp tasks./modules/custom
- Your custom modules./modules/features
- Your features./patches
- Drupal patches./provisioning
- Drupal VM Ansible playbooks./scripts
- Utilities./settings/settings.php
- Drupal common settings.aquifer.json
- Aquifer build system configuration.composer.json
- Composer PHP dependency manager configuration.composer.lock
- locks Composer to specific versions.config.yml
- Drupal VM.drupal.make.yml
- Defines Drupal, contrib projects and patches..editorconfig
- Defines and maintains consistent coding styles between different editors.eslintrc
- JavaScript coding standards.example.config.yml
- Drupal VM.gulpfile.js
- Gulp JavaScript task runner; use gulp help
for details.package.json
- Node.JS packages.README.md
Vagrantfile
- Drupal VM./settings/settings.secret.php
- Drupal environmental settings that should not be in version control, like passwords./settings/settings.local.php
- Drupal local development settings.Uses the Drupal Extension to Behat and Mink.
./scripts/local_behat.sh