Skip to content

Commit

Permalink
Switch to minimal install (#23)
Browse files Browse the repository at this point in the history
Co-authored-by: jastraat <jess.straatmann@civicactions.com>
  • Loading branch information
janette and jastraat committed Jun 21, 2023
1 parent e64fb6c commit 9696020
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions commands/web/dkan-site-install
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,21 @@
# Fail early, fail often.
set -eu -o pipefail

drush site:install standard --site-name="DKAN" -y
drush pm-enable dkan config_update_ui admin_toolbar admin_toolbar_tools -y
drush site:install minimal --site-name="DKAN" --account-name="admin" -y
drush pm-enable dkan file link options automated_cron menu_ui admin_toolbar admin_toolbar_tools -y

# Create administrator role and assign to user 1
drush role:create "administrator" "Administrator" -y
drush config-set user.role.administrator is_admin true -y
drush user:role:add "administrator" admin

# Enable Claro and Olivero themes.
drush theme:enable claro olivero
drush config-set system.theme admin claro -y
drush config-set system.theme default olivero -y
drush config-set node.settings use_admin_theme true -y

# Disable CSS/JS preprocessing
drush config-set system.performance css.preprocess 0 -y
drush config-set system.performance js.preprocess 0 -y

Expand Down

0 comments on commit 9696020

Please sign in to comment.