Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/neomen/drucheck
Drupal check - this is a docker container that helps you quickly check the code for compliance with Drupal standards
https://github.com/neomen/drucheck
drupal drupal-10
Last synced: 4 months ago
JSON representation
Drupal check - this is a docker container that helps you quickly check the code for compliance with Drupal standards
- Host: GitHub
- URL: https://github.com/neomen/drucheck
- Owner: neomen
- License: mit
- Created: 2024-06-13T19:17:56.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-13T20:47:28.000Z (8 months ago)
- Last Synced: 2024-09-28T10:01:43.847Z (4 months ago)
- Topics: drupal, drupal-10
- Language: PHP
- Homepage: https://hub.docker.com/r/neomen/drucheck
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# drucheck
Drupal check - this is a docker container that helps you quickly check the code for compliance with Drupal standardsBuild
--------------------Build from `Dockerfile`:
``` sh
$ docker build -t neomen/drucheck:latest .
```Verify build:
``` sh
$ sudo docker run --rm -it neomen/drucheck:latest --version
```Usage
--------------------1. Install the `neomen/drucheck:latest` container (optional - this step is performed by Docker automatically when running the container):
``` sh
$ docker pull neomen/drucheck:latest
```2. Define an bash alias that runs this container whenever `drucheck` is invoked on the command line:
``` sh
$ echo "alias drucheck='docker run --rm -it -v \$(pwd):/downloads/drupal/web/modules/custom/workspace neomen/drucheck:latest'" >> ~/.bashrc
$ source ~/.bashrc
```3. Run drucheck as always:
``` sh
$ drucheck --version
```4. In the folder with the Drupal module, run:
``` sh
$ drucheck
```5. or directly through docker:
``` sh
$ docker run --rm -it -v $(pwd):/downloads/drupal/web/modules/custom/workspace neomen/drucheck:latest
```