Skip to content

Commit

Permalink
Reduction.
Browse files Browse the repository at this point in the history
  • Loading branch information
simesy committed Nov 5, 2024
1 parent 3352731 commit 0314397
Show file tree
Hide file tree
Showing 93 changed files with 1,200 additions and 7,189 deletions.
13 changes: 13 additions & 0 deletions .ddev/commands/host/deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/bash

# Install the site directly from the config.
# ddev drush si minimal --existing-config --yes

# Install the site directly from the config.
ddev import-db --file=db-snapshot.sql.gz

ddev drush config:import -y

ddev drush updb -y

ddev drush uli
5 changes: 0 additions & 5 deletions .ddev/commands/host/export-content

This file was deleted.

12 changes: 12 additions & 0 deletions .ddev/commands/host/load
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

# Install the site directly from the config.
# ddev drush si minimal --existing-config --yes

ddev import-db --file=_db_main.sql.gz

ddev drush config:status

ddev drush updb -y

ddev drush uli
4 changes: 0 additions & 4 deletions .ddev/commands/host/refresh

This file was deleted.

20 changes: 20 additions & 0 deletions .ddev/commands/host/save
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/bash

echo "Removing cache data."
ddev drush sqlq " \
TRUNCATE cache_access_policy; \
TRUNCATE cache_bootstrap; \
TRUNCATE cache_config; \
TRUNCATE cache_container; \
TRUNCATE cache_data; \
TRUNCATE cache_default; \
TRUNCATE cache_discovery; \
TRUNCATE cache_dynamic_page_cache; \
TRUNCATE cache_tome_static; \
TRUNCATE cache_toolbar; \
TRUNCATE queue; \
TRUNCATE router; \
TRUNCATE sessions; \
"

ddev export-db --file=_db_main.sql.gz
9 changes: 0 additions & 9 deletions .ddev/commands/host/scratch

This file was deleted.

110 changes: 0 additions & 110 deletions .platform.app.yaml

This file was deleted.

17 changes: 0 additions & 17 deletions .platform/routes.yaml

This file was deleted.

11 changes: 0 additions & 11 deletions .platform/services.yaml

This file was deleted.

Binary file added _db_main.sql.gz
Binary file not shown.
20 changes: 4 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,13 @@
{
"type": "composer",
"url": "https://packages.drupal.org/8"
},
{
"type": "vcs",
"url": "https://github.com/frees-au/ce-recipes"
}
],
"require": {
"composer/installers": "^2.0",
"cweagans/composer-patches": "~2.0",
"drupal/admin_toolbar": "^3.4",
"drupal/antibot": "^2.0",
"drupal/better_exposed_filters": "^7.0",
"drupal/bpmn_io": "^2.0",
"drupal/ckeditor5_template": "^1.0",
"drupal/config_ignore": "^3.2",
"drupal/core-composer-scaffold": "^10.0",
Expand All @@ -34,24 +28,17 @@
"drupal/gin": "^3.0@rc",
"drupal/gin_login": "^2.0",
"drupal/gin_toolbar": "^1.0@rc",
"drupal/honeypot": "^2.1",
"drupal/layout_section_classes": "^1.5",
"drupal/linkit": "^6.1",
"drupal/metatag": "^2.0",
"drupal/oembed_providers": "^2.1",
"drupal/pathauto": "^1.12",
"drupal/redirect": "^1.9",
"drupal/redis": "^1.6",
"drupal/search_api_lunr": "^3.0",
"drupal/simple_sitemap": "^4.1",
"drupal/stage_file_proxy": "^3.1",
"drupal/twig_remove_html_comments": "^1.0@beta",
"drupal/upgrade_status": "^4.3",
"drupal/webform": "^6.2",
"drupal/upgrade_status": "*",
"drush/drush": "^13",
"frees-au/ce-recipes": "dev-main",
"oomphinc/composer-installers-extender": "^2",
"platformsh/config-reader": "^2.4"
"oomphinc/composer-installers-extender": "^2"
},
"require-dev": {
"drupal/coder": "^8.3",
Expand All @@ -78,9 +65,10 @@
"dealerdirect/phpcodesniffer-composer-installer": true,
"drupal/core-composer-scaffold": true,
"drupal/core-project-message": true,
"oomphinc/composer-installers-extender": true,
"php-http/discovery": true,
"phpstan/extension-installer": true,
"oomphinc/composer-installers-extender": true
"tbachert/spi": true
},
"sort-packages": true
},
Expand Down
Loading

0 comments on commit 0314397

Please sign in to comment.