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: about 1 month 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-18T10:56:21.000Z (about 1 year ago)
- Last Synced: 2025-03-18T11:40:32.078Z (about 1 year 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: 2
-
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 standards
Build
--------------------
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
```