Moved more link URLs

This commit is contained in:
Oliver Davies 2016-04-26 21:11:54 +01:00
parent ff631c36a4
commit 74d919f3b1
2 changed files with 24 additions and 9 deletions

View file

@ -8,17 +8,17 @@ tags:
- symfony
---
{% block excerpt %}
For the past few weeks Ive been working on a personal side project, based on Drupal VM. Its called the [Drupal VM Generator](https://github.com/opdavies/drupal-vm-generator), and over the weekend Ive added the final features and fixed the remaining issues, and tagged the 1.0.0 release.
For the past few weeks Ive been working on a personal side project, based on Drupal VM. Its called the [Drupal VM Generator][1], and over the weekend Ive added the final features and fixed the remaining issues, and tagged the 1.0.0 release.
{% endblock %}
{% block content %}
For the past few weeks Ive been working on a personal side project, based on Drupal VM. Its called the [Drupal VM Generator](https://github.com/opdavies/drupal-vm-generator), and over the weekend Ive added the final features and fixed the remaining issues, and tagged the 1.0.0 release.
For the past few weeks Ive been working on a personal side project, based on Drupal VM. Its called the [Drupal VM Generator][1], and over the weekend Ive added the final features and fixed the remaining issues, and tagged the 1.0.0 release.
![](/assets/images/blog/drupalvm-generate-repo.png)
## What is Drupal VM?
[Drupal VM](http://www.drupalvm.com) is a project created and maintained by [Jeff Geerling](http://www.jeffgeerling.com). Its a [Vagrant](http://www.vagrantup.com) virtual machine for Drupal development that is provisioned using [Ansible](https://www.ansible.com).
[Drupal VM][2] is a project created and maintained by [Jeff Geerling][3]. Its a [Vagrant][4] virtual machine for Drupal development that is provisioned using [Ansible][5].
What is different to a regular Vagrant VM is that uses a file called `config.yml` to configure the machine. Settings such as `vagrant_hostname`, `drupalvm_webserver` and `drupal_core_path` are stored as YAML and passed into the `Vagrantfile` and the `playbook.yml` file which is used when the Ansible provisioner runs.
@ -28,11 +28,11 @@ In addition to some essential Ansible roles for installing and configuring packa
> The Drupal VM Generator is a Symfony application that allows you to quickly create configuration files that are minimal and use-case specific.
Drupal VM comes with an [example.config.yml file](https://github.com/geerlingguy/drupal-vm/blob/master/example.config.yml) that shows all of the default variables and their values. When I first started using it, Id make a copy of `example.config.yml`, rename it to `config.yml` and edit it as needed, but a lot of the examples arent needed for every use case. If youre using Nginx as your webserver, then you dont need the Apache virtual hosts. If you are not using Solr on this project, then you dont need the Solr variables.
Drupal VM comes with an [example.config.yml file][6] that shows all of the default variables and their values. When I first started using it, Id make a copy of `example.config.yml`, rename it to `config.yml` and edit it as needed, but a lot of the examples arent needed for every use case. If youre using Nginx as your webserver, then you dont need the Apache virtual hosts. If you are not using Solr on this project, then you dont need the Solr variables.
For a few months, Ive kept and used boilerplace versions of `config.yml` - one for Apache and one for Nginx. These are minimal, so have most of the comments removed and only the variables that I regularly need, but these can still be quite time consuming to edit each time, and if there are additions or changes upstream, then I have two versions to maintain.
The Drupal VM Generator is a Symfony application that allows you to quickly create configuration files that are minimal and use-case specific. It uses the [Console component](http://symfony.com/doc/current/components/console/introduction.html) to collect input from the user, [Twig](http://twig.sensiolabs.org) to generate the file, the [Filesystem component](http://symfony.com/doc/current/components/filesystem/introduction.html) to write it.
The Drupal VM Generator is a Symfony application that allows you to quickly create configuration files that are minimal and use-case specific. It uses the [Console component][7] to collect input from the user, [Twig][8] to generate the file, the [Filesystem component][9] to write it.
Based on the options passed to it and/or answers that you provide, it generates a custom, minimal `config.yml` file for your project.
@ -46,15 +46,28 @@ You can also define options when calling the command and skip any or all questio
## Where do I get it?
The project is hosted on [GitHub](https://github.com/opdavies/drupal-vm-generator), and there are installation instructions within the [README](https://github.com/opdavies/drupal-vm-generator/blob/master/README.md#installation).
The project is hosted on [GitHub][1], and there are installation instructions within the [README][10].
<div class="github-card" data-github="opdavies/drupal-vm-generator" data-width="400" data-height="" data-theme="default"></div>
The recommended method is via downloading the phar file (the same as Composer and Drupal Console). You can also clone the GitHub repository and run the command from there. Im also wanting to upload it to Packagist so that it can be included if you manage your projects with Composer.
Please log any bugs or feature requests in the [GitHub issue tracker](https://github.com/opdavies/drupal-vm-generator/issues), and Im more than happy to receive pull requests.
Please log any bugs or feature requests in the [GitHub issue tracker][11], and Im more than happy to receive pull requests.
If youre interested in contributing, please feel free to fork the repository and start doing so, or contact me with any questions.
__Update 17/02/16:__ The autoloading issue is now fixed if you require the package via Composer, and this has been tagged as the [1.0.1 release](https://github.com/opdavies/drupal-vm-generator/releases/tag/1.0.1)
__Update 17/02/16:__ The autoloading issue is now fixed if you require the package via Composer, and this has been tagged as the [1.0.1 release][12]
{% endblock %}
[1]: https://github.com/opdavies/drupal-vm-generator
[2]: http://www.drupalvm.com
[3]: http://www.jeffgeerling.com
[4]: http://www.vagrantup.com
[5]: https://www.ansible.com
[6]: https://github.com/geerlingguy/drupal-vm/blob/master/example.config.yml
[7]: http://symfony.com/doc/current/components/console/introduction.html
[8]: http://twig.sensiolabs.org
[9]: http://symfony.com/doc/current/components/filesystem/introduction.html
[10]: https://github.com/opdavies/drupal-vm-generator/blob/master/README.md#installation
[11]: https://github.com/opdavies/drupal-vm-generator/issues
[12]: https://github.com/opdavies/drupal-vm-generator/releases/tag/1.0.1

View file

@ -13,9 +13,11 @@ tags:
- symfony
---
{% block abstract %}
An impromptu lightning talk about the [Drupal VM Generator](https://github.com/opdavies/drupal-vm-generator) project.
An impromptu lightning talk about the [Drupal VM Generator][1] project.
{% endblock %}
{% block video %}
{{ youtube('U1pbKAAO2Wo?start=3690') }}
{% endblock %}
[1]: https://github.com/opdavies/drupal-vm-generator