Installing Lightning locally

Use the procedure on this page to install Acquia’s Lightning distribution for Drupal 8 on a local server.

Requirements

Procedure

After you confirm that you have access to the required software, complete the following steps:

  1. Open a command prompt window.

  2. Run the following command:

    composer create-project acquia/lightning-project MY_PROJECT --no-interaction
    

Composer will create a new directory called MYPROJECT containing a docroot directory with a full Lightning codebase. You can then install Drupal normally.

Note

If you want to push your local installation to Acquia Cloud, you must update your .gitignore file as described in the .gitignore on Acquia-hosted sites versus Drupal default .gitignore Acquia Knowledgebase article.

Contact supportStill need assistance? Contact Acquia Support

Acquia: Think Ahead

53 State Street, 10th Floor
Boston, MA 02109
United States
Phone: 888-922-7842

Map: Google Maps
View other locations