Skip to content

open-data/opengov

Repository files navigation

Composer Project for open.canada.ca

Build Status

Drupal codebase for open.canada.ca

Installation

  1. Create project
composer create-project opengov/opengov-project:dev-master MYPROJECT --no-interaction
  1. Install using interface, choose Open Government as your installation profile. As an alternative, you can also use drush for installation
drush site:install og

For detailed step-by-step instructions on installing Open Government Profile on Linux CentOS, please read our Installation Guide

Updating core and/or contributed modules

  1. Check for outdated modules
composer outdated "drupal/*"
  1. If updates are required, it is very important to make a backup of both codebase and database before updating

  2. Update modules that are outdated

composer update drupal/MODULE --with-dependencies
drush updatedb
drush cr

If you want to know all packages that will be updated by the composer update command, use the --dry-run option first.

For more detailed information on updating Drupal, please review Drupal Documentation.

Architecture

architecture