Prerecquisites

You need to source the load-env file inside Drucker directory to access all these tools:

$ cd drucker
$ . load-env

PHP CLI

You can use the PHP CLI directly in your environment.

$ php [options] [-f] <file> [args...]

Note: if you just enter php, it'll launch a prompt inside the PHP container.


Drush

PHP container has Drush installed.

$ drush

Also, you can use preconfigured drush alias @dev:

$ drush @dev

Launch drush init to add some additional useful features, like Drush auto-completion.

Useful commands:

You can find all documentation here.


Composer

PHP container has Composer installed.

$ composer

Useful commands:

You can find all documentation here.


Drupal Console

PHP container has Drupal Console launcher installed. Drupal Console itself must be installed per project manually via Composer.

$ drupal

The Drupal Console is useful for the generate feature. It can generates a bunch of useful things. You can, for example, generate a module, using this command:

$ drupal generate:module

Launch drupal init to add some additional useful features, like Drupal Console auto-completion.

Useful commands:

You can find all documentation here.


Node.js

You have access to a Node.js container.

$ node [options] [v8 options] [script.js | -e "script" | -] [--] [arguments]

Note: the current folder is mounted inside /usr/src/app, and it's the working dir.


NPM/Yarn/Gulp

You can use one of these tools, that will be launched inside the Node.js container.

$ npm
[or]
$ yarn
[or]
$ gulp

Note: the current folder is mounted inside /usr/src/app, and it's the working dir.