Skip to content

Commit

Permalink
UPDATE | readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SerhiiMazurBeetroot committed Dec 21, 2022
1 parent e591791 commit 2de5bae
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 18 deletions.
4 changes: 4 additions & 0 deletions .env-core/docs/5-doc-environment-options.MD
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@
2 - Install composer package
3 - Delete site data (posts, themes, plugins)
4 - Into a multisite installation
4 - List of existing projects
5 - GIT actions
Expand Down
23 changes: 11 additions & 12 deletions .env-core/docs/5-doc-new-wordpress.MD
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@
| 4 | | Enter Domain Name | test | |
| 5 | | Enter DOMAIN_FULL | dev.test.local | * |
| 6 | [y/n] | Is correct? | | |
| 7 | [y/n] | Remove default content? | | |
| 8 | [y/n] | Clone project? | | |
| 9 | | Windows: Add to host file | | |
| 7 | [y/n] | Clone project? | | |
| 8 | | Windows: Add to host file | | |

*Variables has default value.

Expand All @@ -43,11 +42,12 @@
| 8 | | Enter WP_VERSION | 5.8.3 | * |
| 9 | | Enter WP_USER | developer | * |
| 10 | | Enter WP_PASSWORD | 1 | * |
| 11 | | Enter PHP_VERSION | 8.0 | * |
| 12 | [y/n] | Is correct? | | |
| 13 | [y/n] | Remove default content? | | |
| 14 | [y/n] | Clone project? | | |
| 15 | | Windows: Add to host file | | |
| 11 | | Enter EMPTY_CONTENT | 1 | * |
| 12 | | Installation type | 1 | * |
| 13 | | Enter PHP_VERSION | 8.0 | * |
| 14 | [y/n] | Is correct? | | |
| 15 | [y/n] | Clone project? | | |
| 16 | | Windows: Add to host file | | |

*Variables has default value.

Expand All @@ -64,10 +64,9 @@
| 5 | 1 | type? [default] [custom] | | |
| 6 | | Enter DOMAIN_FULL | test.local | * |
| 7 | [y/n] | Is correct? | | |
| 8 | [y/n] | Remove default content? | | |
| 9 | [y/n] | Clone project? | | |
| 10 | | Repo url | | |
| 11 | | Windows: Add to host file | | |
| 8 | [y/n] | Clone project? | | |
| 9 | | Repo url | | |
| 10 | | Windows: Add to host file | | |

*Variables has default value.

Expand Down
10 changes: 5 additions & 5 deletions .env-core/sh/projects/setup/setup_vars_wp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,16 +106,16 @@ setup_custom_args() {
#Remove default content
EMPTY_LINE
ECHO_YELLOW "EMPTY_CONTENT [default 'no']"
ECHO_GREEN "1 - no"
ECHO_GREEN "2 - yes"
ECHO_KEY_VALUE "1" "no"
ECHO_KEY_VALUE "2" "yes"
read -rp "$(ECHO_YELLOW "Please select one of:")" EMPTY_CONTENT

#WP_TYPE
EMPTY_LINE
ECHO_YELLOW "Do you want a multisite installation? [default 'no']"
ECHO_YELLOW "Installation type [default 'single']"
randpassword
ECHO_KEY_VALUE "[1]" "no"
ECHO_KEY_VALUE "[2]" "yes"
ECHO_KEY_VALUE "[1]" "single"
ECHO_KEY_VALUE "[2]" "multisite"
read -rp "$(ECHO_YELLOW "Please select one of:")" MULTISITE

#PHP_VERSION
Expand Down
3 changes: 2 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ Spin up a local environment on Linux, Mac, and Windows using CLI.
| Logs | Follow log output for Nginx, WP instance |
| PHP | Choose from active PHP version |
| Wordpress | Choose a version or use the latest |
| Multisite | Wordpress multisite or single site |
| Database | Database import and export, search-replace |
| Composer | Install Composer inside container |
| GIT | Clone an existing theme, create repo and push |
Expand All @@ -83,10 +84,10 @@ Spin up a local environment on Linux, Mac, and Windows using CLI.
```
├── setup.sh # Run devENV
├── .env-core # devENV core files
| └── data # Data about sites, settings, docker images
| └── nginx # Nginx-proxy
| └── sh # Bash scripts
| └── templates # Global templates
| └── instances.log # List of installed sites
└── wordpress # WordPress sites go here
└── bedrock # Bedrock sites go here
└── php # PHP simple sites go here
Expand Down

0 comments on commit 2de5bae

Please sign in to comment.