forked from Gizra/dynamic_example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.config.sh
77 lines (59 loc) · 2.26 KB
/
default.config.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/bash
#########################################################################################
#
# Configuration used in the different scripts.
#
# Copy this file in the same directory, the filename of the copy should be "config.sh".
#
#########################################################################################
# The profile used to install the platform.
PROFILE_NAME="dynamic_example"
# The human name of the install profile
PROFILE_TITLE="DynamicExample"
# Modify the URL below to match your local domain the site will be accessible on.
BASE_DOMAIN_URL=""
# Modify the login details below to be the desired
# login details for the Drupal Administrator account.
ADMIN_USERNAME="admin"
ADMIN_PASSWORD="admin"
ADMIN_EMAIL="admin@example.com"
# Modify the MySQL settings below so they will match your own.
MYSQL_USERNAME="root"
MYSQL_PASSWORD="root"
MYSQL_HOSTNAME="localhost"
MYSQL_DB_NAME="dynamic_example"
##
# External folders or files that need to be symlinked into the www folder
# AFTER the make files have been processed.
#
# The variable is an array, add each with an unique index number.
# Each line should contain the source path > target path.
# The target path needs to be relative to the www folder (Drupal root).
#
# Example:
# SYMLINKS[0]="path/to/the/source/folder>subpath/of/the/www-folder"
##
# SYMLINKS[0]="/var/www/library/foldername>sites/all/library/foldername"
# SYMLINKS[1]="/var/www/shared/filename.php>sites/all/modules/filename.php"
##
# Post script functions.
#
# These functions are called when the corresponding script has finshed and
# before the final check of the platform (and optional auto login).
#
# Add commands that need to be run per script.
# The colors, as defined in the scripts/helper-colors.sh file, can be used to
# highlight echoed text.
#
# Following variables can be used (created depending on the script arguments):
# - $DEMO_CONTENT (0/1) : Should the demo content be loaded into the platform.
# - $AUTO_LOGIN (0/1) : Will the script open a browser window and log in as an
# administrator.
# - $UNATTENDED (0/1) : Is the script run unattended.
##
# Post install script.
# function post_install {}
# Post upgrade script.
# function post_upgrade {}
# Post reset script.
# function post_reset {}