Skip to content

Commit df5d01c

Browse files
committed
Update organization of settings
1 parent 83e354f commit df5d01c

File tree

1 file changed

+38
-45
lines changed

1 file changed

+38
-45
lines changed

settings.sh

+38-45
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,31 @@
11
#!/bin/bash
22

3-
# Your WP site name. Defaults to the project name taken from the project directory.
4-
# Uncomment the following line to set a custom name.
5-
# WP_SITE_TITLE='Example'
3+
# DETAILS
64

7-
# Your WP login details
5+
## Your WP site name. Defaults to the project name taken from the project directory.
6+
## Uncomment the following line to set a custom name.
7+
# WP_SITE_TITLE='Example Title'
8+
9+
## WP Admin login details for user 1
810
WP_USER_NAME='example-name'
911
WP_USER_PASS='example-password'
10-
WP_USER_EMAIL='dev@example.com'
12+
WP_USER_EMAIL='example-email@example.com'
1113

12-
# Theme Slugs
14+
## Theme Slugs
1315
DEFAULT_THEME_SLUG='twentytwentyfive'
1416
STARTER_THEME_SLUG='cassidywp-starter-block-theme'
1517

16-
# Local path to the All-in-One WP Migration Unlimited Extension plugin zip file.
17-
# If you don't have this plugin, set `INSTALL_LOCAL_AIOMUE_PLUGIN` to false.
18+
## Local path to the All-in-One WP Migration Unlimited Extension plugin zip file.
19+
## Not used unless INSTALL_LOCAL_AIOMUE_PLUGIN is set to true.
1820
LOCAL_AIOMUE_PATH='/Users/Jacob/Projects/Assets/Packages/WordPress/Plugins/All In One Migration Unlimited Extension/all-in-one-wp-migration-unlimited-extension_2.65.zip'
1921

20-
# Turn settings on/off with true/false values:
21-
22-
## THEMES
23-
24-
### Installs official Default WordPress Theme
25-
INSTALL_DEFAULT_THEME=true
26-
27-
### Installs CassidyWP Starter Block Theme
28-
INSTALL_STARTER_THEME=true
29-
30-
## PLUGINS
31-
32-
### Installs All-in-One WP Migration plugin
33-
INSTALL_AIOM_PLUGIN=true
34-
35-
### Installs All-in-One WP Migration Unlimited Extension plugin from local machine zip file
36-
INSTALL_LOCAL_AIOMUE_PLUGIN=false
37-
38-
### Installs Query Monitor plugin
39-
INSTALL_QUERY_MONITOR_PLUGIN=true
40-
41-
## WIDGETS
42-
43-
### Hides default WordPress dashboard widgets for user 1
44-
HIDE_DASHBOARD_WIDGETS=true
45-
46-
## FILES
47-
48-
### Installs Spatie Ray connection files to work with Docker containers
49-
INSTALL_RAY_CONNECTIONS=true
50-
51-
### Installs local Git repo and .gitignore file for the project
52-
INSTALL_GIT=true
22+
# SETTINGS - Turn settings on/off with true/false values
5323

5424
## DEBUGGING
55-
56-
### Adds WordPress debugging and env settings
25+
### Add WordPress debugging and env settings
5726
INSTALL_WP_DEBUG_SETTING=true
58-
59-
### Set values for WP debugging and env settings
27+
### Set values for WP debugging and env settings.
28+
### Only used if INSTALL_WP_DEBUG_SETTING is set to true.
6029
if $INSTALL_WP_DEBUG_SETTING; then
6130
WP_DEBUG_VALUE=true
6231
WP_DEBUG_DISPLAY_VALUE=false
@@ -65,3 +34,27 @@ if $INSTALL_WP_DEBUG_SETTING; then
6534
WP_ENVIRONMENT_TYPE_VALUE='development'
6635
WP_DEVELOPMENT_MODE_VALUE='theme'
6736
fi
37+
38+
## FILES
39+
### Install Spatie Ray connection files to work with Docker containers
40+
INSTALL_RAY_CONNECTIONS=true
41+
### Install local Git repo and .gitignore file for the project
42+
INSTALL_GIT=true
43+
44+
## PLUGINS
45+
### Install All-in-One WP Migration plugin
46+
INSTALL_AIOM_PLUGIN=true
47+
### Install All-in-One WP Migration Unlimited Extension plugin from local machine zip file
48+
INSTALL_LOCAL_AIOMUE_PLUGIN=false
49+
### Install Query Monitor plugin
50+
INSTALL_QUERY_MONITOR_PLUGIN=true
51+
52+
## THEMES
53+
### Install official Default WordPress Theme
54+
INSTALL_DEFAULT_THEME=true
55+
### Install CassidyWP Starter Block Theme
56+
INSTALL_STARTER_THEME=true
57+
58+
## WIDGETS
59+
### Hide default WordPress dashboard widgets for user 1
60+
HIDE_DASHBOARD_WIDGETS=true

0 commit comments

Comments
 (0)