Giter Club home page Giter Club logo

mdsk_final's Introduction

MDSK Final

MDSK Final Drupal Distribution

Dependencies

  • VirtualBox: 5.x
  • Vagrant: 1.7.x
  • Ansible (optional, but recommended): 1.9.x

Mac

brew cask install virtualbox
brew cask install vagrant
brew install ansible

Vagrant

Two plugins are required.

vagrant plugin install vagrant-hostsupdater
vagrant plugin install vagrant-auto_network

Getting started

Prepare the local site:

  • composer install
  • npm install
  • 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.

  • cp example.config.yml config.yml

  • Edit config.yml and update the following:

    • Find and replace drupalvm.dev with BRANDNAME.dev
    • vagrant_machine_name: BRANDNAME
    • vagrant_ip: 0.0.0.0
    • vagrant_synced_folders - local_path: your-path (modify as necessary)
    • vagrant_memory: 2048
    • build_makefile: false
    • install_site: false
    • drupal_major_version: 8
    • drupal_core_path: /var/www/build
    • drush_version: master
    • installed_extras:
      • # - adminer
      • - mailhog
      • - memcached
      • # - nodejs
      • # - pimpmylog
      • # - ruby
      • - selenium
      • - solr
      • - varnish
      • # - xdebug
      • # - xhprof
  • [Mac/Linux only] Install Ansible Galaxy roles required for this VM: sudo ansible-galaxy install -r provisioning/requirements.yml --force

  • vagrant up

Create local settings files:

  • ./scripts/local_settings.sh

Configure Solr search (adapted from Solr for Drupal Developers):

  • ./scripts/drupalvm_solr.sh

Prepare the site:

  • ./scripts/local_install.sh

Structure

MDSK Final 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.

Testing

Uses the Drupal Extension to Behat and Mink.

./scripts/local_behat.sh

mdsk_final's People

Contributors

kporras07 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.