openeuropa/oe_paragraphs

Name: oe_paragraphs

Owner: OpenEuropa

Description: Drupal module providing Paragraph types based on ECL components

Created: 2018-02-09 16:11:56.0

Updated: 2018-05-08 12:49:07.0

Pushed: 2018-05-08 12:49:09.0

Homepage: null

Size: 49

Language: PHP

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

OpenEuropa Paragraphs

Build Status

This module integrates the ECL - the component library of the European Commission - with the Paragraphs module.

It provides a number of Paragraph types that are based on a select number of ECL components. These are intended to be used on landing pages of various sites of the European Commission.

Development setup

You can build a test site by running the following steps.

mposer install
vendor/bin/run drupal:site-setup

This will symlink the theme in the proper directory within the test site and perform token substitution in test configuration files such as behat.yml.dist.

vendor/bin/run drupal:site-install

Your test site will be available at ./build.

Using Docker Compose

Alternatively you can build a test site using Docker and Docker-compose with the provided configuration.

Requirements:

Run:

cker-compose up -d

Then:

cker-compose exec -u web web composer install
cker-compose exec -u web web ./vendor/bin/run drupal:site-setup
cker-compose exec -u web web ./vendor/bin/run drupal:site-install

Your test site will be available at http://localhost:8080/build.

To run the Behat test:

cker-compose exec -u web web ./vendor/bin/behat

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.