Documentation: Add Drupal Console to Vagrant

Created on 31 Aug 2016  路  5Comments  路  Source: Islandora/documentation

Drupal console has proven to be very useful during Drupal 8 module development, code generations and adds an important stack of tools to Debug sites too, so It would be great to have it installed by default in our vagrant machine.

https://drupalconsole.com
and
Docs:
https://hechoendrupal.gitbooks.io/drupal-console/content/en/index.html

Vagrant help wanted

All 5 comments

@ruebot VM comes up and drupal console is installed, but using it yields:
[ERROR] The "/home/vagrant/.console/config.yml" config file is missing, try executing drupal init

This could be avoided by adding a drupal init --override to the install script, but it would have to be run by the vagrant user and not root (or maybe both?).

EDIT: Upon thinking further, DEFINITELY BOTH. I'm sure there are situations where you'll need to run the drupal console as one or the other, so they both need to be init'ed.

maybe a sudo -u vagrant -- drupal init --override?

Oh, I forget to push this update yesterday. I'll do it later today when I get off campus.

@bryjbrown @whikloj pushed. Sorry for forgetting about that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ruebot picture ruebot  路  4Comments

dannylamb picture dannylamb  路  3Comments

Natkeeran picture Natkeeran  路  3Comments

dannylamb picture dannylamb  路  4Comments

ruebot picture ruebot  路  3Comments