imagex/openedu

Template for Drupal 8 sites built using the OpenEDU distribution.

Installs: 4 199

Dependents: 2

Suggesters: 0

Security: 0

Type:drupal-profile

8.3.4 2019-04-18 20:08 UTC

This package is auto-updated.

Last update: 2023-05-15 04:06:34 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.

Post Installation

Google Maps

You must provide a valid maps api key to utilize the google mapping features used within OpenEDU. You can find the configuration at /admin/config/services/gmap-field-settings

Flexible Layout

To enable Bootstrap (or css grid) support, navigate to /admin/config/content/flexible_layout. For bootstrap, you can just enter the path to the theme css, i.e. http://yoursite.com/profiles/contrib/openedu/themes/oedu_sub/css/style.css

IXM Dashboard

The IXM Dashboard is enabled on install, but has a few requirements to be functional after installation of OpenEDU.

  • Analytics

    • You will need to supply your Google Analytics tracking code at /admin/config/system/google-analytics
    • To get on-page reporting, you will need to allow the reporting API access, follow the directions at /admin/config/services/google-analytics-reports-api
  • SEO

    • SEO Data will populate once the "Focus Keyword" has been entered on content.
  • Accessibility

    • Accessibility checking is done using the Sa11y module. Follow the directions on the project page to obtain an API Key.

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 `vendor/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`