Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 772 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 772 Bytes

Drupal and Pa11y-CI

composer create-project drupal/recommended-project drupa11y
cd drupa11y/
composer require --dev drupal/core-dev-pinned
composer require --dev phpunit/phpunit:^8.5 squizlabs/php_codesniffer
composer require drush/drush

Create web/sites/settings.local.php:

<?php
$databases['default']['default'] = [
  'driver' => 'sqlite',
  'database' => sys_get_temp_dir() . '/drupa11y.sqlite',
  'prefix' => '',
  'namespace' => 'Drupal\\Core\\Database\\Driver\\sqlite',
];

Edit web/sites/settings.php to include settings.local.php

vendor/bin/drush -y site:install standard --no-interaction --site-name "NJ Meetup" \
 --site-mail [email protected] --account-name admin --account-mail [email protected] --account-pass admin