openculturas / openculturas-distribution
OpenCulturas: arts + culture portal software for regional marketing.
Installs: 5 589
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 1
Forks: 1
Language:CSS
Type:drupal-profile
Requires
- php: >=8.1
- ajaxorg/ace-builds: ^1.13.1
- choices-js/choices.js: ^10.1
- drupal/address: ^1.12
- drupal/address_display: ^1.0
- drupal/addtocal_augment: ^1.2.3
- drupal/admin_toolbar: ^3.5.1
- drupal/allowed_formats: ^3.0.1
- drupal/asset_injector: ^2.21
- drupal/attribution: ^1.0.15
- drupal/auto_entitylabel: ^3.3.0
- drupal/better_exposed_filters: ^6.0.6
- drupal/block_field: ^1.0.0-rc5@RC
- drupal/checklistapi: ^2.1.6
- drupal/choices: ^2.1.5
- drupal/classy: ^1.0.2
- drupal/coffee: ^2.0
- drupal/composer_deploy: ^1.10.0
- drupal/conditional_fields: ^4.0.0-alpha5@alpha
- drupal/config_update: ^2.0.0-alpha4@alpha
- drupal/cookies: ^1.2.13
- drupal/core: ~10.3.10
- drupal/date_augmenter: ^1.1.1
- drupal/date_range_formatter: ^4.0.2
- drupal/datetime_extras: ^1.1
- drupal/default_content: ^2.0.0-alpha3@alpha
- drupal/duration_field: ^2.1
- drupal/eca: ^1.1.9
- drupal/eca_flag: ^1.0
- drupal/entity_browser: ^2.12.0
- drupal/extra_field: ^2.3
- drupal/facets: ^2.0.9
- drupal/field_formatter_class: ^1.8.0
- drupal/field_group: ^3.6.0
- drupal/field_permissions: ^1.4.0
- drupal/field_time: ^1.0.0-beta2@beta
- drupal/flag: ^4.0.0-beta5@beta
- drupal/focal_point: ^2.1.2
- drupal/formtips: ^1.11.0
- drupal/geocoder: ^4.26.0
- drupal/geofield: ^1.62.0
- drupal/gin: ^3.0.0-rc15@RC
- drupal/gin_toolbar: ^1.0.0-rc7@RC
- drupal/honeypot: ^2.2.0
- drupal/http_client_error_status: ^3.1.3
- drupal/ief_complex_open: ^1.0.1
- drupal/image_widget_crop: ^2.4
- drupal/inline_entity_form: ^1.0.0-rc17@RC
- drupal/jquery_ui_accordion: ^2.1.0
- drupal/json_ld_schema: ^2.0
- drupal/languagefield: ^1.9
- drupal/leaflet: ^10.2.29
- drupal/legal: ^3.0.3
- drupal/licenses: ^2.0.5
- drupal/linkit: ^6.1.6
- drupal/matomo: ^1.23
- drupal/media_entity_download: ^2.4.0
- drupal/media_library_edit: ^3.0.4
- drupal/media_library_form_element: ^2.1.1
- drupal/metatag: ^2.1.0
- drupal/node_edit_protection: ^1.1
- drupal/oembed_providers: ^2.2.1
- drupal/office_hours: ^1.19.0
- drupal/paragraph_view_mode: ^3.1.5
- drupal/paragraphs: ^1.18.0
- drupal/password_policy: ^4.0.3
- drupal/pathauto: ^1.13.0
- drupal/rabbit_hole: ^1.0
- drupal/realname: ^2.0
- drupal/redirect: ^1.10.0
- drupal/role_delegation: ^1.3.0
- drupal/search_api: ^1.37.0
- drupal/search_api_exclude_entity: ^3.0.0-beta2@beta
- drupal/shariff: ^2.0
- drupal/similarterms: ^1.9.0
- drupal/simple_image_rotate: ^2.3@alpha
- drupal/simple_sitemap: ^4.2.2
- drupal/simplei: ^3.0
- drupal/smart_date: ^4.2.1
- drupal/smart_trim: ^2.2.0
- drupal/smtp: ^1.4.0
- drupal/social_media_links: ^2.10.0
- drupal/svg_image: ^3.2.0
- drupal/swiffy_slider: ^1.3.1
- drupal/token: ^1.15.0
- drupal/tour: ^1.0.1
- drupal/tour_enhancements: ^1.0.6
- drupal/tour_ui: ^2.0
- drupal/twig_tweak: ^3.4.0
- drupal/update_helper: ^4.1.0
- drupal/view_password: ^6.0.5
- drupal/viewfield: ^3.0.0-beta11@beta
- drupal/views_add_button: ^2.0.8
- drupal/views_autocomplete_filters: ^2.0.2
- drupal/views_bulk_edit: ^3.0
- drupal/views_bulk_operations: ^4.3.2
- drupal/views_conditional: ^1.10.0
- drupal/views_data_export: ^1.5.0
- drupal/views_infinite_scroll: ^2.0.3
- drupal/views_local_tasks: ^1.0.2
- elmarquis/leaflet.gesture-handling: ^1.2.2
- fengyuanchen/cropperjs: ^1.6.1
- fengyuanchen/jquery-cropper: ^1.0.1
- fortawesome/font-awesome: ^6.5.2
- geocoder-php/nominatim-provider: ^5.7
- heiseonline/shariff: ^3.2.1
- leaflet/leaflet.fullscreen: ^1.0.2
- leaflet/leaflet.markercluster: ^1.4.1
Requires (Dev)
- composer/installers: ^2.3.0
- cweagans/composer-patches: ^1.7.3
- dealerdirect/phpcodesniffer-composer-installer: ^1.0
- drupal/bpmn_io: ^1.1.4
- drupal/coder: ^8.3.26
- drupal/config_devel: ^1.10.0
- drupal/config_inspector: ^2.1.9
- drupal/core-composer-scaffold: ~10.3.10
- drupal/core-dev: ~10.3.10
- drupal/core-recommended: ~10.3.10
- drupal/core-vendor-hardening: ~10.3.10
- drupal/devel: ^5.3.1
- drupal/stage_file_proxy: ^3.1.4
- drupal/upgrade_status: ^4.3.6
- drush/drush: ^12.5.3
- mglaman/phpstan-drupal: ^1.3.2
- micheh/phpcs-gitlab: ^1.1
- oomphinc/composer-installers-extender: ^2.0.1
- openculturas/openculturas-profile: @dev
- palantirnet/drupal-rector: ^0.20.3
- php-parallel-lint/php-console-highlighter: ^1.0
- php-parallel-lint/php-parallel-lint: ^1.4.0
- phpcompatibility/php-compatibility: dev-develop@dev
- phpspec/prophecy-phpunit: ^2.3.0
- phpstan/extension-installer: ^1.4.3
- rector/rector: ^1.2.10
- weitzman/drupal-test-traits: ^2.5.0
Conflicts
- 2.4.x-dev
- 2.3.x-dev
- 2.3.1
- 2.3.0
- 2.3.0-beta3
- 2.3.0-beta2
- 2.3.0-beta1
- 2.2.x-dev
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.x-dev
- 2.1.1
- 2.1.0
- 2.1.0-rc2
- 2.1.0-rc1
- 2.1.0-beta5
- 2.1.0-beta4
- 2.1.0-beta3
- 2.1.0-beta2
- 2.1.0-beta1
- 2.0.x-dev
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.4.x-dev
- 1.3.x-dev
- 1.3.8
- 1.3.7
- 1.3.6
- 1.3.5
- 1.3.4
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.x-dev
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.x-dev
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.x-dev
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-alpha3
- 1.0.0-alpha2
- 1.0.0-alpha1
This package is auto-updated.
Last update: 2024-12-23 10:37:43 UTC
README
Table of contents
- Introduction
- Requirements
- Installation
- FAQ
- Development
Introduction
OpenCulturas is built as a pre-configured platform for cultural-focused communities, empowering actors in the cultural field to own their data and make their information accessible to a wide audience.
Requirements
- https://www.drupal.org/docs/system-requirements for Drupal 9
- PHP 8.1
- A bunch of drupal modules and external libraries.
Installation
We provide a composer project to install OpenCulturas. For more information go to https://www.drupal.org/project/openculturas_project.
FAQ
Q: How can I ignore patches?
A: The package which we use to patch dependencies allows to ignore patches. For more information go to https://github.com/cweagans/composer-patches#ignoring-patches.
Development
We recommend to use https://ddev.com for development.
At the moment the source code is privately hosted and mirrored to https://github.com/openculturas/openculturas-distribution. To create a new release on drupal.org we push the used git branch/tag to https://git.drupalcode.org/project/openculturas. Someday when the issue https://www.drupal.org/project/project_composer/issues/3252534 is fixed we can directly work on drupal.org git repository.
Installation (with ddev)
- Clone this repository
- Install dependencies
ddev composer install
- Install OpenCulturas distribution
ddev drush site:install --yes --existing-config
Installation (without ddev)
- Clone this repository
- Install dependencies
composer install
- Prepare a setting.php, you can use the settings.php
-
if [[ ! -h web/sites/default/settings.php ]];then cd web/sites/default/ && ln -sf ../../../.ddev/settings.php;fi
-
Override values (DB etc.) in
web/sites/default/settings.local.php
-
Make sure config_sync_directory points to ../config/sync
$settings['config_sync_directory'] = '../config/sync';
-
- Install OpenCulturas distribution
drush site:install --yes --existing-config
ddev
Cheatsheet:
- Start project
ddev start
- Run composer commands
ddev composer COMMAND
e.g.ddev composer install
- Run drush commands
ddev drush COMMAND
e. g.ddev drush uli
More information about ddev cli command https://ddev.readthedocs.io/en/stable/users/basics/cli-usage/.
Composer scripts
Info files:
To update the version, sort list like dependencies in openculturas modules, run:
ddev composer run info_file_normalizer
Updating initial content
- Fetch latest changes and install site:
git pull && ddev composer install && ddev composer run si
- Change content via UI
- Export content
ddev composer run export-content
drush scripts
At the moment l.d.o does not find the labels of field_group. Therefore we generate the strings.
drush scr scripts/generate_field_group_strings.php
Configuration files
All configuration are managed via config_devel. Each configuration is listed in the info file of the profile or submodule. So any new configuration needs to be added to the info file.
After that, enable config_devel and run ddev drush cde openculturas
or ddev drush cde submodule
.
This command updates all configuration which are listed in the info file and removes the key _core
and uuid
except for
views configuration. The uuid is needed because the uuid is used in other configuration as default value, without this
the default value would be not set/broken.