2017 © Pedro Peláez
 

project thunder-develop

Project for thunder development.

image

thunder/thunder-develop

Project for thunder development.

  • Tuesday, July 24, 2018
  • by dbosen
  • Repository
  • 3 Watchers
  • 0 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 5 Open issues
  • 10 Versions
  • 34 % Grown

The README.md

Thunder development installation

To install the Thunder Distribution for development create the thunder-develop project:, (*1)

composer create-project thunder/thunder-develop --keep-vcs --no-install -s dev
cd thunder-develop

Ddev Environment

Start the ddev environment for local site install:, (*2)

ddev start

Install the site. When composer update was never run, it has to be called twice, because of the composer merge plugin which is used to merge the distributions dependencies. This is not necesseary when the docroot was build before.:, (*3)

ddev composer update
ddev composer update
ddev drush si thunder

To work on the distribution, work inside the docroot/profiles/contrib/thunder folder., (*4)

cd docroot/profiles/contrib/thunder
git checkout -b feature/new-thunder-feature # <-- this will be a branch in the distribution not the project
<make changes>
git commit .

Run code style tests

To test the code style (Drupal and DrupalPractice) in the distribution run, (*5)

ddev composer cs

To test some module run, (*6)

ddev composer cs docroot/modules/contrib/mymodule

You can also run phpcbf, (*7)

ddev composer cbf

Testing

Some tests need test fixtures inside the selenium container. To copy the current fixtures run:, (*8)

docker cp docroot/profiles/contrib/thunder/tests/fixtures ddev-thunder-develop-selenium-chrome:/fixtures

Run all Thunder tests, (*9)

ddev composer exec -- phpunit -c docroot/core docroot/profiles/contrib/thunder

Run single test file (e.g. ArticleSchedulerIntegrationTest.php), (*10)

ddev composer exec -- phpunit -c docroot/core --filter=ArticleSchedulerIntegrationTest docroot/profiles/contrib/thunder

Run single test method (e.g. CacheInvalidationTest::testMetatagsCacheInvalidation), (*11)

ddev composer exec -- phpunit -c docroot/core --filter=testEntityListCacheInvalidation docroot/profiles/contrib/thunder/modules

Run module tests, (*12)

ddev composer exec -- phpunit -c docroot/core docroot/modules/contrib/graphql

The Versions

24/07 2018
18/07 2018

dev-feature/add-image-derive-all

dev-feature/add-image-derive-all

Project for thunder development.

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by Christian Fritsch
by Daniel Bosen
by Mladen Todorovic
by Alex Pott
by Volker Killesreiter

18/07 2018

1.0.0-beta1

1.0.0.0-beta1

Project for thunder development.

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by Christian Fritsch
by Daniel Bosen
by Mladen Todorovic
by Alex Pott
by Volker Killesreiter

18/07 2018

dev-feature/composer-drupal-optimizations

dev-feature/composer-drupal-optimizations

Project for thunder development.

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by Christian Fritsch
by Daniel Bosen
by Mladen Todorovic
by Alex Pott
by Volker Killesreiter

02/07 2018

dev-feature/ddev-default-configurations

dev-feature/ddev-default-configurations

Project for thunder development.

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by Christian Fritsch
by Daniel Bosen
by Mladen Todorovic
by Alex Pott
by Volker Killesreiter

30/04 2018

dev-feature/lando-integration

dev-feature/lando-integration

Project for thunder development.

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by Christian Fritsch
by Daniel Bosen
by Mladen Todorovic
by Alex Pott
by Volker Killesreiter

15/03 2018

dev-feature/ddev

dev-feature/ddev

Project for thunder development.

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by Christian Fritsch
by Daniel Bosen
by Mladen Todorovic
by Alex Pott
by Volker Killesreiter

14/03 2018

dev-feature/remove-robo-file

dev-feature/remove-robo-file

Project for thunder development.

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by Christian Fritsch
by Daniel Bosen
by Mladen Todorovic
by Alex Pott
by Volker Killesreiter

01/03 2018

dev-feature/multiple-repos

dev-feature/multiple-repos

Project for thunder development.

  Sources   Download

GPL-2.0-or-later

The Requires

 

The Development Requires

by Christian Fritsch
by Daniel Bosen
by Mladen Todorovic
by Alex Pott
by Volker Killesreiter