opengov / opengov-project
Project template for Open Government project with composer
Installs: 1 212
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=7.1
- composer/installers: ^1.2
- cweagans/composer-patches: ^1.6.5
- drupal/console: ^1.9.8
- drupal/core: ^8.9.0
- drupal/core-composer-scaffold: ^8.8.0
- drush/drush: ^10.0.0
- opengov/og: dev-master
- symfony/event-dispatcher: 4.3.4 as 3.4.99
- webflo/drupal-finder: ^1.0.0
- wikimedia/composer-merge-plugin: 2.0.1
- zaporylie/composer-drupal-optimizations: ^1.2.0
Requires (Dev)
- drupal/core-dev: ^8.9
Conflicts
- drupal/drupal: *
- drush/drush: <8.1.10
- symfony/http-foundation: 3.4.35
This package is auto-updated.
Last update: 2025-02-26 04:54:07 UTC
README
Usage
- Install composer.
Optional - Global composer installation.
If skipping, you may need to replace composer
with php composer.phar
for your setup.
- 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
What does the template do?
The template will setup:
- Drupal core in
html/core
directory. - Profiles in
html/profiles
directory. - Contributed modules in
html/modules/contrib
directory. - Libraries for WET-BOEW in
html/libraries
directory. - Themes in
html/themes
directory and enables GCWeb as default theme. settings.php
andservices.yml
inhtml/sites/default
directory.- Drush in
vendor/bin/drush
directory. - DrupalConsole in
vendor/bin/drupal
directory. - Setup configurations for the Open Government project.
Updating core and/or contributed modules
- Check for outdated modules
composer outdated "drupal/*"
-
If updates are required, it is very important to make a backup of both codebase and database befor 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, check Drupal Documentation.