2017 © Pedro Peláez
 

project jarvis

Project template for Resilient distributions inside DrupalVM.

image

lammensj/jarvis

Project template for Resilient distributions inside DrupalVM.

  • Wednesday, November 15, 2017
  • by lammensj
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

, (*1)

[Project name]

[Project description], (*2)

Getting Started

These instructions will get you a Drupal 8 project up and running on your local machine for development and testing purposes., (*3)

Prerequisites

All you need is Composer and Vagrant installed on your laptop or pc. Every other service will be downloaded inside the virtual machine., (*4)

$ composer install

Installing

Default settings regarding the VM can be found in ./config. The following files are present: - config.yml: configuration independent of the project (eg. synced folders, ports, composer etc.) - default.local.config.yml: configuration about the project (eg. name, credentials etc.), (*5)

$ cp ./config/default.local.config.yml ./config/local.config.yml

Adjust the lines in ./config/local.config.yml which are not commented to match your project., (*6)

A. Starting fresh

Uncomment the lines below # Installing from scratch in ./config/local.config.yml., (*7)

B. Starting from existing configuration

Uncomment the lines below # Installing from existing configuration in ./config/local.config.yml., (*8)

Run Vagrant

All there is left to do, is start Vagrant and let it do its thing., (*9)

$ DRUPALVM_ANSIBLE_ARGS='--extra-vars "drupal_install_site=true"' vagrant up

This will download a Vagrant machine (Debian9) and provision it using Ansible. Inside, a Resilient-distribution will be installed. If everything is finished, go to the url you set up in ./config/local.config.yml under vagrant_hostname., (*10)

Credentials

Connecting to MySQL

  • MySQL Host: 127.0.0.1
  • Username: drupal (unless overridden by drupal_db_user)
  • Password: drupal (unless overridden by drupal_db_password)
  • SSH Host: 192.168.88.88 (unless overridden by vagrant_ip)
  • SSH User: vagrant (unless overridden by vagrant_user)
  • SSH Key: (browse to your ~/.vagrant.d/ folder and choose insecure_private_key)

Drupal

  • Username: admin (unless overridden by drupal_account_name)
  • Password: the default is admin but please change this when going to production (unless overridden by drupal_account_pass)

Built With

Workflow

Config management

Hence the fact that we're using Config Split to break apart certain config (eg. only enable Devel in development) we must use the drush commands provided by that module. Use $ drush csex -y to export and $ drush csim -y to import configuration files. You can enable development config by adding $config['config_split.config_split.dev']['status'] = TRUE; in ./htdocs/web/sites/default/settings.local.php., (*11)

Versioning

We use Gitflow for versioning., (*12)

Authors

  • Jasper Lammens - Initial work - lammensj

License

This project is licensed under the MIT License - see the LICENSE file for details., (*13)

The Versions

15/11 2017

dev-master

9999999-dev

Project template for Resilient distributions inside DrupalVM.

  Sources   Download

MIT

The Development Requires

15/11 2017

1.0.1

1.0.1.0

Project template for Resilient distributions inside DrupalVM.

  Sources   Download

MIT

The Development Requires

13/11 2017

1.0.0

1.0.0.0

Project template for Resilient distributions inside DrupalVM.

  Sources   Download

MIT

The Development Requires