This repository has been archived on 2025-01-07. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
drupal-tailwindcss-purgecss.../.docksal/commands/drupal-install

24 lines
404 B
Bash
Executable file

#!/usr/bin/env bash
#: exec_target = cli
set -e
function install_site() {
drush site-install -y \
--account-pass=admin123 \
--site-name='Drupal Tailwind CSS'
}
function change_theme() {
drush theme:enable tailwindcss -y
drush config-set system.theme default tailwindcss -y
}
function login_link() {
drush uli -l http://drupal-tailwind.docksal
}
install_site
change_theme
login_link