GitHub - DevinCarlson/lightning: Lightning is a base distribution for fast and feature-rich Drupal. Mirror of

Travis build status Scrutinizer code quality

A dynamic and fast CMS built on Drupal. Lightning provides page building tools, editorial workflows, media management and site preview tools.

This installation profile is a base example that ships with an optional demo and developer tools.

Installation

In addition to standard installation via the UI, Lightning can be built using Drush make.

drush make build-lightning.make ~/Destination/docroot

Use the site-install command to install Drupal with the Lightning installation profile.

drush si lightning

Enable Lightning demo content using the lightning-enable command.

drush le lightning_demo

You may now login to your site.

drush uli -l http://mysite.dd

You may also reset the content of a Lightning Feature if it is enabled.

drush lr lightning_demo

Behat tests

Use Composer to install the drupal-extension for mink/behat in the Lightning profile.

cd profiles/lightning/tests && composer install

Use the behat.template.yml file as a template for a behat.yml file, replacing BASE_URL with your own url.

cp behat.template.yml behat.yml

Check that behat is installed and running

bin/behat --help

Run tests.

bin/behat

Selenium is required to run the JavaScript tests. You can download Selenium from http://www.seleniumhq.org and run it with:

java -jar selenium.jar

Note that you may require a newer version of Java which can be downloaded from http://www.oracle.com/technetwork/java/javase/downloads/index.html.

Documentation

Community documentation for Lightning is available at https://www.drupal.org/node/2472867.

Resources

The Lightning project is available at: http://drupal.org/project/lightning

The features included with Lightning are available for use in your projects or distributions.

Visit: http://github.com/acquia/lightning-features