imagex/openedu-project

Project template for Drupal 8 sites built with the OpenEDU distribution.

Installs: 3 290

Dependents: 0

Suggesters: 0

Security: 0

Type:project

8.3.2 2018-08-23 17:29 UTC

This package is auto-updated.

Last update: 2023-05-24 04:04:13 UTC


README

This is a Composer-based installer for the OpenEDU Drupal distribution.

Get Started

composer create-project imagex/openedu-project MY_PROJECT

Composer will create a new directory called MY_PROJECT containing a `docroot directory with a full OpenEDU code base. Once your webserver is pointing to thedocrootfolder, you can then install it using eitherdrush si` or via your web browser like any other drupal installation.

PHP Performance

The sample content contained in the OpenEDU distribution (and enabled by default) is quite large, you may need to raise your PHP `memory_limitsetting to >= 192MB and potentially yourmax_execution_time` to >= 60. Once installed, you are safe to restore these to their initial values.

Helpful Tips

  • The `docroot` folder represents the web root for your site (the folder your web server points to).
  • Some helpful tools can be found in the `bin` folder.
  • 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`

Version Control

The provided `.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 `composer install`

Further Information

The codebase of OpenEDU is hosted here and contains information about Installation, Updating and Changelog.