Skip to content

Commit d99f48b

Browse files
authored
Adding Drush documentation.
1 parent 13ca050 commit d99f48b

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# drupal-enterprise-stack
22

33
* [Drupal](#drupal)
4+
* [Drush](#drush)
45
* [Nginx](#nginx)
56
* [PostgreSQL](#postgresql)
67
* [Redis](#redis)
@@ -10,12 +11,20 @@
1011

1112
*Link*: https://www.drupal.org/8
1213

13-
Drupal 8 comes preconfigured and heavily leverages the other services available in the docker stack. The latest release of composer will be installed during the image build.
14+
Drupal 8 comes preconfigured and heavily leverages the other services available in the docker stack.
15+
16+
The latest release of composer will be installed during the image build. Composer can be called using `make composer a="$ARG"`. For example, `make composer a="require drupal/redis"` to retrieve the Redis module and its dependencies.
1417

1518
All included contrib modules can be found here: https://github.com/JBris/drupal-enterprise-stack/tree/master/app/modules/contrib
1619

1720
An example settings.php file can be found here. https://github.com/JBris/drupal-enterprise-stack/blob/master/app/sites/default/settings.php. Docker environment variables can be accessed using the `getenv()` function.
1821

22+
## Drush <a name="drush"/>
23+
24+
*Link*: https://www.drush.org/
25+
26+
A separate drush container has been included to execute drush commands on your Drupal instance. These can be executed using `make drush a="$ARG"`. For example, `make drush a="cr"` will clear the Drupal cache.
27+
1928
## Nginx <a name="nginx"/>
2029

2130
Nginx acts as the Drupal service's web server. The default configuration file can be found here: https://github.com/JBris/drupal-enterprise-stack/blob/master/services/nginx/conf.d/default.conf
@@ -64,6 +73,7 @@ $settings['container_yamls'][] = 'modules/contrib/redis/example.services.yml';
6473
## Mailhog <a name="mailhog"/>
6574

6675
*Link:* https://github.com/mailhog/MailHog
76+
6777
*Link:* https://github.com/mailhog/mhsendmail
6878

6979
The Mailhog service has been included in the Docker stack to capture emails during local development.

0 commit comments

Comments
 (0)