Install EM on Drupal
- Unzip the INSTALLATION/em-drupal-project.zip to your development environment.
- The package provides a ready-made composer.json file which will install all you need to kicks-start your composer-managed site. Run the
composer installcommand from inside "em-drupal-project" directory.
Note that drupal-project installs Drupal itself in the "web" directory (em-drupal-project/web). Consider that on a production environment you have to configure your domain to point in that directory.
- Use Drush and install the site form configuration. Run drush site:install from inside web directory:
drush site:install \
Change db_user, db_pass and db_name with your database info. The --account-name is your Drupal username and the --account-pass your Drupal password.
- If you'd like to start with a demo content, enable the EM Demo module:
drush en -y em_demo_content
This two articles will help you to understand how to manage your Drupal site with Composer:
Using Composer: https://www.drupal.org/docs/develop/using-composer
Drupal 8 Composer Best Practices: https://www.lullabot.com/articles/drupal-8-composer-best-practices