Skip to content

Commit 2e8fcec

Browse files
committed
Add image
1 parent 01ddb6b commit 2e8fcec

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
DDEV integration for developing Drupal contrib projects. As a general philosophy, your contributed module is the center of the universe. The codebase layout and commands in this project [match the Gitlab CI approach](https://git.drupalcode.org/project/gitlab_templates) from the Drupal Association.
1+
DDEV integration for developing Drupal contrib projects. As a general philosophy, your contributed module is the center of the universe. The codebase layout (see image below) and commands in this project [match the Gitlab CI approach](https://git.drupalcode.org/project/gitlab_templates) from the Drupal Association.
22

33
Install
44
===========
@@ -11,13 +11,18 @@ Commands
1111
This project provides the following DDEV container commands.
1212

1313
- [ddev expand-composer-json](https://github.com/weitzman/ddev-drupal-gitlabci/blob/main/commands/web/expand-composer-json). This edits composer.json so that `drupal/core-recommended` becomes a dev dependency. After this runs you may want to run `ddev composer install`
14-
- [ddev symlink-project](https://github.com/weitzman/ddev-drupal-gitlabci/blob/main/commands/web/symlink-project). This symlinks the top level files of your project into web/moduels/custom so that Drupal finds your module. This command runs automatically on every `ddev start`.
14+
- [ddev symlink-project](https://github.com/weitzman/ddev-drupal-gitlabci/blob/main/commands/web/symlink-project). This symlinks the top level files of your project into web/moduels/custom so that Drupal finds your module. This command runs automatically on every `ddev start`. See image below.
1515
- `ddev phpunit`. Run phpunit tests on the web/modules/custom directory.
1616
- `ddev nightwatch`. Run nightwatch tests on the web/modules/custom directory.
1717
- `ddev phpcs`. Run phpcs on the web/modules/custom directory.
1818
- `ddev eslint`. Run eslint on the js files in the web/modules/custom directory.
1919
- `ddev stylelint`. Run stylelint on the css files in the web/modules/custom directory.
2020

21+
Codebase layout
22+
==================
23+
24+
![Folder tree](/assets/folder.png)
25+
2126
Misc
2227
=======
2328
- Optional: [Install Chrome service for FunctionalJavascript and Nightwatch tests](https://github.com/ddev/ddev-selenium-standalone-chrome).

assets/folder.png

135 KB
Loading

0 commit comments

Comments
 (0)