This is a Composer-based installer for the OpenEDU Drupal distribution.
composer create-project imagex/openedu-project MY_PROJECT
Composer will create a new directory called MY_PROJECT containing a
directory with a full OpenEDU code base. Once your webserver is pointing to the
docroot folder, you can then install it using either
drush si or
via your web browser like any other drupal installation.
The sample content contained in the OpenEDU distribution (and enabled by default) is quite large, you may need to raise your PHP
memory_limit setting to >= 192MB and potentially your
max_execution_time to >= 60. Once installed, you are safe to restore these to their initial values.
docrootfolder represents the web root for your site (the folder your web server points to).
- Some helpful tools can be found in the
- Composer commands are always run from the site root.
- Downloading additional modules:
composer require "drupal/devel:1.x-dev"
- Updating an existing module:
composer update drupal/devel -–with-dependencies
.gitignore in the root contains all directories expected to be installed using composer.
When you first install your project, Composer will create a file called
composer.lock that keeps track
of your dependencies and which version is installed.
You want to Commit
composer.lock ! This will ensure that anyone collaborating on the project will also
install the same versions when running