v1/web/modules/contrib/facets_pretty_paths
Gdilove 927f32325b 初始化 2023-11-13 20:36:13 +08:00
..
config/schema 初始化 2023-11-13 20:36:13 +08:00
src 初始化 2023-11-13 20:36:13 +08:00
tests 初始化 2023-11-13 20:36:13 +08:00
.gitignore 初始化 2023-11-13 20:36:13 +08:00
.travis.yml 初始化 2023-11-13 20:36:13 +08:00
LICENSE.txt 初始化 2023-11-13 20:36:13 +08:00
README.md 初始化 2023-11-13 20:36:13 +08:00
composer.json 初始化 2023-11-13 20:36:13 +08:00
docker-compose.yml.dist 初始化 2023-11-13 20:36:13 +08:00
facets_pretty_paths.info.yml 初始化 2023-11-13 20:36:13 +08:00
facets_pretty_paths.module 初始化 2023-11-13 20:36:13 +08:00
facets_pretty_paths.services.yml 初始化 2023-11-13 20:36:13 +08:00
phpunit.xml.dist 初始化 2023-11-13 20:36:13 +08:00
runner.yml.dist 初始化 2023-11-13 20:36:13 +08:00

README.md

Facets Pretty Paths

Facets pretty paths provides the logic for improving the URL paths generated by the Facets module.

Development

To set up a local development environment, perform the following:

  1. Copy the docker-compose.yml.dist into docker-compose.yml (it will be gitignored)

  2. Run the following commands:

$ docker-compose up -d
$ docker-compose exec php composer install
$ docker-compose exec php ./vendor/bin/run drupal:site-install
  1. Go to http://localhost:8080/build and you have a Drupal site running with the module and its dependencies!

Run tests as follows:

$ docker-compose exec -u www-data php ./vendor/bin/phpunit

To run the coding standards check, use this command:

$ docker-compose exec php ./vendor/bin/run drupal:phpcs

And this command to try to automatically fix coding standards issues that pop up:

$ docker-compose exec php ./vendor/bin/run drupal:phpcbf

Contributions

Development is done in this repository and contributions are welcome in the form of PRs.