Skip to content

Commit

Permalink
Switch to minimal install
Browse files Browse the repository at this point in the history
  • Loading branch information
janette committed Apr 6, 2023
1 parent 104562e commit 845f55d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
5 changes: 0 additions & 5 deletions commands/web/dkan-frontend-install
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,12 @@

## Description: Add the decoupled frontend for DKAN.
## Usage: dkan-frontend-install
## Flags: [{"Name":"theme", "Usage":"Whether or not to install default front-end Drupal theme. 0 or 1.", "DefValue": "1"}]
## Example: "ddev dkan-frontend-install" (will install default frontend theme by default), "ddev dkan-frontend-install --theme 0"

# TODO: Make a CI flag.

FRONTEND_TMP='src/tmp'
FRONTEND_DOCROOT_DIR='docroot/frontend'
FRONTEND_VCS_URL='https://github.com/GetDKAN/data-catalog-app/'
# TODO: no-node-sass is the known-good branch, so we should move that forward to be a release.
#FRONTEND_VCS_REF='cypress-update-8.7.0'
#FRONTEND_VCS_REF='1.0.4'
FRONTEND_VCS_REF='no-node-sass'

if [[ -L $FRONTEND_DOCROOT_DIR ]]; then
Expand Down
7 changes: 5 additions & 2 deletions commands/web/dkan-site-install
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
# Fail early, fail often.
set -eu -o pipefail

drush site:install standard --site-name="DKAN" -y
drush pm-enable dkan config_update_ui -y
drush site:install minimal --site-name="DKAN" -y
drush pm-enable dkan config_update_ui config json_form_widget datetime field_ui file link menu_ui options path text toolbar -y
drush role:create "administrator" "administrator" -y
drush theme:enable claro
drush config-set system.theme default claro -y
drush config-set system.performance css.preprocess 0 -y
drush config-set system.performance js.preprocess 0 -y

Expand Down

0 comments on commit 845f55d

Please sign in to comment.