Skip to content

open-data/opengov

Folders and files

NameName
Last commit message
Last commit date
Jan 29, 2025
Jan 29, 2025
Mar 5, 2024
Nov 12, 2024
Oct 17, 2019
Mar 9, 2021
Nov 12, 2024
Oct 17, 2019
Nov 12, 2024
May 16, 2022
Nov 24, 2020
Jul 4, 2019
Feb 14, 2023
Nov 12, 2024
Nov 12, 2024
Jul 4, 2019

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