-
Notifications
You must be signed in to change notification settings - Fork 18
/
settings.sh
90 lines (65 loc) · 2.16 KB
/
settings.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
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/usr/bin/env bash
###############################################################################
# Basic settings - for new and existing WP installations
#
# this is hostname for the vagrant box
# make sure to change it in the Vagrantfile as well
hostname='wpvagrant.test'
# PHP version to install
# valid values:
# 5.6
# 7.0
# 7.1
# 7.2
# 7.3
php_version='7.2'
# specify path (inside the Vagrant VM) to WordPress to allow wp-cli to do search and replace
# shouldn't need to change this from /vagrant unless you've made other config changes
wp_path='/vagrant'
#mysql root password, shouldn't need to change this
mysql_root_password='root'
###############################################################################
#
# Settings for creating a new site.
# You do not have to change this section if you're dropping
# WP Vagrant into an existing WP folder
#
# set to true to download and install latest version of WP
# if we detect existing core files, then the WP download will not take place, even if
# this is set to true, so it's normally safe to always have this set to true
install_wordpress=true
# WordPress version to install (if install_wordpress=true)
# if blank, then current stable version will be installed
# wp_version="3.5.2"
# wp_version="4.0-beta1"
wp_version=""
#
# database
#
# name of database: eg wordpress
wp_db_name='wp_vagrant'
# database user name, leave empty to use the root user
wp_db_user=''
# database password
wp_db_password=''
#
# initial WP admin user
# ignored if install_wordpress is false
#
wp_admin_user='admin'
wp_admin_password='123'
wp_admin_email='[email protected]'
wp_site_title='WP Vagrant'
#
# end of settings for a new site
###############################################################################
###############################################################################
#
# Settings for using wp-vagrant with an existing site
#
# set to true to import the database as part of the provisioning process
import_database=false
# specify the domain that the imported dump file uses.
# This allows us to search / replace the domain used in the dump file into
# the hostname used by this vagrant instance
import_site_domain=''