-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sh
70 lines (49 loc) · 1.91 KB
/
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
#!/bin/bash
# Your WP site name. Defaults to the project name taken from the project directory.
# Uncomment the following line to set a custom name.
# WP_SITE_TITLE='Example'
# Your WP login details
WP_USER_NAME='example-name'
WP_USER_PASS='example-password'
WP_USER_EMAIL='[email protected]'
# Theme Slugs
DEFAULT_THEME_SLUG='twentytwentyfive'
STARTER_THEME_SLUG='cassidywp-starter-block-theme'
# Local path to the All-in-One WP Migration Unlimited Extension plugin zip file.
# If you don't have this plugin, set `INSTALL_LOCAL_AIOMUE_PLUGIN` to false.
LOCAL_AIOMUE_PATH='/Users/Jacob/Projects/Assets/Packages/WordPress/Plugins/All In One Migration Unlimited Extension/all-in-one-wp-migration-unlimited-extension_2.59.zip'
# TURN SETTINGS ON/OFF:
## THEMES
### Installs official Default WordPress Theme
INSTALL_DEFAULT_THEME=true
### Installs CassidyWP Starter Block Theme
INSTALL_STARTER_THEME=true
## PLUGINS
### Installs All-in-One WP Migration plugin
INSTALL_AIOM_PLUGIN=true
### Installs All-in-One WP Migration Unlimited Extension plugin from local machine zip file
INSTALL_LOCAL_AIOMUE_PLUGIN=true
### Installs Query Monitor plugin
INSTALL_QUERY_MONITOR_PLUGIN=true
## WIDGETS
### Hides default WordPress dashboard widgets for user 1
HIDE_DASHBOARD_WIDGETS=true
## FILES
### Installs Spatie Ray connection files to work with Docker containers
INSTALL_RAY_CONNECTIONS=true
### Installs VSCode workspace settings file to follow WordPress coding standards
INSTALL_VSCODE_SETTINGS=true
### Installs local Git repo and .gitignore file for the project
INSTALL_GIT=true
## DEBUGGING
### Adds WordPress debugging and env settings
INSTALL_WP_DEBUG_SETTING=true
### Set values for WP debugging and env settings
if $INSTALL_WP_DEBUG_SETTING; then
WP_DEBUG_VALUE=true
WP_DEBUG_DISPLAY_VALUE=false
LOG_DIR_VALUE='log/wp-errors.log'
SCRIPT_DEBUG_VALUE=true
WP_ENVIRONMENT_TYPE_VALUE='development'
WP_DEVELOPMENT_MODE_VALUE='theme'
fi