Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to minimal install #23

Merged
merged 7 commits into from
Jun 21, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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