Drupal codebase for open.canada.ca
- Create project
composer create-project opengov/opengov-project:dev-master MYPROJECT --no-interaction
- 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
- Check for outdated modules
composer outdated "drupal/*"
-
If updates are required, it is very important to make a backup of both codebase and database before updating
-
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.