-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup_step03__configure_ouitoulia.sh
56 lines (44 loc) · 2.36 KB
/
setup_step03__configure_ouitoulia.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env sh
# This script performs the initial configuration of Ouitoulía.
# Run this script in the location where your composer.json is.
printf "\n\n-- Installo il tema base ---------------------------------------\n"
drush -y pm:install ajax_loader components big_pipe inline_form_errors \
responsive_image easy_breadcrumb menu_link_attributes pathauto twig_tweak
drush -y theme:enable bootstrap_italia
printf "\n\n-- Installo Vocabolari, Media gestiti e Configurazione utenti --\n"
drush -y pm:install bibliotheke
drush -y pm:install lexika prosopon
printf "\n\n-- Installo i campi usati dalle entità Node --------------------\n"
drush -y pm:install themethla
printf "\n\n-- Installo il sub-theme ---------------------------------------\n"
drush -y theme:enable skenografia
drush -y config:set system.theme default skenografia
drush -y pm:install config
# Fix node_reference module for minimal profile
drush -y config:import --partial --source="$(drush drupal:directory)/themes/contrib/bootstrap_italia/modules/bootstrap_italia_paragraph_node_reference/config/optional"
drush -y config:import --partial --source="$(drush drupal:directory)/themes/contrib/skenografia/config/update/"
printf "\n\n-- Importo i dati obbligatori ----------------------------------\n"
drush -y pm:install sunchronizo
drush migrate:import taxonomy_common_uuid
drush migrate:import taxonomy_common
drush migrate:import scuola_roles
drush migrate:import main_menu
printf "\n\n-- Installo Viste, Blocchi e Permessi --------------------------\n"
drush -y pm:install prosis exesti
drush -y config:import --partial --source="$(drush drupal:directory)/modules/contrib/prosis/config/update/"
printf "\n\n-- Installo il modulo di ricerca -------------------------------\n"
drush -y pm:install anazetesis
printf "\n\n-- Amministrazione trasparente ed Albo -------------------------\n"
printf "\nVuoi installare Albo e Amministrazione trasparente? [si/no] (no): "
read -r installa_at_ed_albo
installa_at_ed_albo=${installa_at_ed_albo:-no}
case $installa_at_ed_albo in
si|yes|s|y)
composer require ouitoulia/keryx
drush pm:install keryx
drush -y config:import --partial --source="$(drush drupal:directory)/modules/contrib/keryx/config/update/"
drush migrate:import amministrazione_trasparente_obblighi
drush migrate:import amministrazione_trasparente_categorie
;;
esac
drush -y pm:uninstall config