Download the PHP package lammensj/resilient-vm without Composer
On this page you can find all versions of the php package lammensj/resilient-vm. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download lammensj/resilient-vm
More information about lammensj/resilient-vm
Files in lammensj/resilient-vm
Package resilient-vm
Short Description Project template for Resilient distributions inside DrupalVM.
License MIT
Informations about the package resilient-vm
[Project name]
[Project description]
Getting Started
These instructions will get you a Drupal 8 project up and running on your local machine for development and testing purposes.
Prerequisites
All you need is Composer and Vagrant installed on your laptop or pc. Every other service will be downloaded inside the virtual machine.
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.)
Adjust the lines in ./config/local.config.yml
which are not commented to match your project.
A. Starting fresh
Uncomment the lines below # Installing from scratch
in ./config/local.config.yml
.
B. Starting from existing configuration
Uncomment the lines below # Installing from existing configuration
in ./config/local.config.yml
.
Run Vagrant
All there is left to do, is start Vagrant and let it do its thing.
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
.
Credentials
Connecting to MySQL
- MySQL Host:
127.0.0.1
- Username:
drupal
(unless overridden bydrupal_db_user
) - Password:
drupal
(unless overridden bydrupal_db_password
) - SSH Host:
192.168.88.88
(unless overridden byvagrant_ip
) - SSH User:
vagrant
(unless overridden byvagrant_user
) - SSH Key: (browse to your
~/.vagrant.d/
folder and chooseinsecure_private_key
)
Drupal
- Username:
admin
(unless overridden bydrupal_account_name
) - Password: the default is
admin
but please change this when going to production (unless overridden bydrupal_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
.
Versioning
We use Gitflow for versioning.
Authors
- Jasper Lammens - Initial work - lammensj
License
This project is licensed under the MIT License - see the LICENSE file for details.