Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
Install site directly from Starshot, with no install profile at all.
Browse files Browse the repository at this point in the history
  • Loading branch information
phenaproxima committed May 7, 2024
1 parent 474afb6 commit 4e8b8f6
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 16,162 deletions.
8 changes: 3 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,23 +104,21 @@
},
"patches": {
"drupal/core": {
"Disable block_theme_initialize() to prevent duplicate blocks": "./patches/core/disable-block_theme_initialize.patch",
"#3444246: Create a config action to set the status of the entity": "./patches/core/recipes-103.patch",
"Add config actions to make a bundle of an entity type translatable": "./patches/core/make-translatable-action.patch"
}
}
},
"scripts": {
"drupal:install": [
"drush site-install minimal --yes --quiet",
"cd web && php core/scripts/drupal recipe ../recipes/starshot",
"drush theme:uninstall --yes --quiet stark",
"drush cache:rebuild"
"cd web && php core/scripts/drupal install ../recipes/starshot"
],
"drupal:install-dev": [
"cd web/sites/default && chmod +w . && rm -rf settings.php files",
"@drupal:install",
"drush config:set --yes system.logging error_level verbose",
"drush pm:enable --yes default_content",
"drush user:password admin admin",
"drush user:password editor editor",
"drush user:unblock editor"
],
Expand Down
8 changes: 0 additions & 8 deletions drush/drush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,3 @@

options:
uri: 'http://localhost/'

command:
site:
install:
options:
account-pass: admin
db-url: sqlite://db.sqlite
site-name: 'Starshot'
13 changes: 0 additions & 13 deletions patches/core/disable-block_theme_initialize.patch

This file was deleted.

Loading

0 comments on commit 4e8b8f6

Please sign in to comment.