Core functionality of Tide distribution for Drupal 10
Tide is a Drupal 10 distribution focused on delivering an API first, headless Drupal content administration site.
- Roles
- Permissions for site administration
- Theme components discovery mechanism (if required)
- Text formats
- WYSIWYG configurations
- Common fields shared across content types
TopicTaxonomy VocabularyTagsTaxonomy VocabularyLocationsTaxonomy VocabularyDepartmentsTaxonomy Vocabulary
To install this package, add this custom repository to repositories section of
your composer.json:
{
"repositories": {
"dpc-sdp/tide_core": {
"type": "vcs",
"no-api": true,
"url": "https://github.com/dpc-sdp/tide_core.git"
}
}
}Require this package as any other Composer package:
composer require dpc/tide_core Digital Engagement, Department of Premier and Cabinet, Victoria, Australia is a maintainer of this package.
Open an issue on GitHub or submit a pull request with suggested changes.
Local development is powered by DDEV with the
ddev-drupal-contrib add-on. The module
repository is the project root; a disposable Drupal site is built into web/ and the
module is made available to it via per-file symlinks — code changes at the repository
root take effect immediately, no sync step required.
To build a fresh local development site in one step:
- Checkout this project.
- Run
ddev build— removes the generatedweb/andvendor/directories, starts the services, installs the dependencies, symlinks the module and installs the site.
Alternatively, run each build step separately:
- Run
ddev start— starts web, db, OpenSearch, selenium-chrome and clamav services. - Run
ddev poser— installs Drupal core (version pinned byDRUPAL_COREin.ddev/config.yaml) plus all module dependencies intoweb/andvendor/. - Run
ddev symlink-project— symlinks this module intoweb/modules/custom/tide_core(re-run after adding/removing root-level files; also runs automatically onddev start). - Run
ddev install-site— installs a fresh site (testingprofile) and enablestide_coreandtide_test.
Day-to-day commands:
ddev drush <command>— run Drush.ddev phpunit --testsuite unit— run PHPUnit unit tests.ddev exec vendor/bin/behat --strict --colors [path/to.feature]— run Behat tests (add--profile=suggestfor the suggest profile).ddev phpcs/ddev phpcbf— lint / auto-fix coding standards.ddev ssh— shell into the web container.
If ddev start reports that the OpenSearch container exited or failed to become
healthy, inspect its logs:
ddev logs -s opensearchIf the logs report that vm.max_map_count is too low:
ERROR: [1] bootstrap checks failed
[1]: max virtual memory areas vm.max_map_count [65530] is too low, increase to at least [262144]
Increase the limit and start DDEV again:
docker run --privileged --rm --pid=host alpine sysctl -w vm.max_map_count=262144
ddev startThe setting may need to be applied again after restarting Docker.
- tide
- tide_api
- tide_event
- tide_landing_page
- tide_media
- tide_monsido
- tide_news
- tide_page
- tide_search
- tide_site
- tide_test
- tide_webform
This project is licensed under GPL2
Single Digital Presence offers government agencies an open and flexible toolkit to build websites quickly and cost-effectively.
The Department of Premier and Cabinet partnered with Salsa Digital to deliver Single Digital Presence. As long-term supporters of open government approaches, they were integral to the establishment of SDP as an open source platform.

