Skip to content
This repository has been archived by the owner on Feb 13, 2023. It is now read-only.

Update docs: Add DrupalConsole remote command execution instructions. #1047

Closed
jmolivas opened this issue Dec 12, 2016 · 3 comments
Closed
Labels

Comments

@jmolivas
Copy link

jmolivas commented Dec 12, 2016

Issue Type

  • Documentation Report

Summary

Update documentation add DrupalConsole remote command execution example

Drupal Console allows you to run commands on your local server but actually execute them on a remote server. Instructions to setup remote command execution.

Add a new sites file ~/.console/sites/drupalvm.yml at host computer.

dev:
  root: /var/www/drupalvm/drupal
  host: 192.168.88.88
  user: vagrant
  password: vagrant

NOTE: This site file was created using the default configuration that ships with Drupal VM.

Execute from host machine using --target option.

$ bin/drupal --target=drupalvm.dev site:status

 System Info
 Drupal                    8.2.4
 Access to update.php      Protected
 Configuration files       Protected
 Cron maintenance tasks    Last run 2 days 9 hours ago
 Database system           MySQL, MariaDB, Percona Server, or equivalent
 Database system version   5.7.16-0ubuntu0.16.04.1-log
 Database updates          Up to date
 Drupal core update status No update data available
 Entity/field definitions  Up to date
 File system               Writable (public download method)
 GD library                2.1.1
 GD library PNG support    2.1.1
 Image toolkit             gd
 Node Access Permissions   Disabled
 PHP                       7.0.8-0ubuntu0.16.04.3 (more information)
 PHP extensions            Enabled
 PHP memory limit          192M
 PHP OPcode caching        Enabled
 Search index progress     100% (0 remaining)
 Trusted Host Settings     Not enabled
 Unicode library           PHP Mbstring Extension
 Update notifications      Enabled
 Upload progress           Not enabled
 Web server
 Hash salt                 n4X2BOJGCeSh6UfkyOmhssdyiofbrla_fBzIHfz1PiJ6GyiiFKSkG3r6YsSP84bwfLig3vvRhw
 Drupal Console            1.0.0-rc10

 Database connection
 Driver              mysql
 Host                localhost
 Database connection drupal
 Port
 Username            drupal
 Connection          mysql//drupal:drupal@localhost/drupal

 Themes
 theme_default bartik
 theme_admin   seven

 Directories
 Site root directory      /var/www/drupalvm/drupal/web
 Site temporary directory /tmp
 Default theme directory  /core/themes/bartik
 Admin theme directory    /core/themes/seven
@jmolivas jmolivas changed the title Update DrupalConsole remote command execution instructions. Update dos: Add DrupalConsole remote command execution instructions. Dec 12, 2016
@jmolivas jmolivas changed the title Update dos: Add DrupalConsole remote command execution instructions. Update docs: Add DrupalConsole remote command execution instructions. Dec 12, 2016
@geerlingguy
Copy link
Owner

Nice! This will be a great extra bit of documentation (and functionality).

oxyc added a commit to oxyc/drupal-vm that referenced this issue Dec 29, 2016
geerlingguy added a commit that referenced this issue Dec 29, 2016
Issue #1047: Add docs on Drupal Console remote command execution
@oxyc
Copy link
Collaborator

oxyc commented Dec 29, 2016

Fixed in #1085. Thanks @jmolivas

@oxyc oxyc closed this as completed Dec 29, 2016
@jmolivas
Copy link
Author

Thank you @oxyc for sending the PR updating the docs.

kekkis pushed a commit to kekkis/drupal-vm that referenced this issue Feb 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants