Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 10, 2020. It is now read-only.

Commit 9840b63

Browse files
Merge pull request #25 from mbtamuli/rename_to_ee4
Rename script from eev4 to ee4
2 parents c8a8d67 + 52284f3 commit 9840b63

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

‎README.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,27 @@ bash setup.sh
2828
1. Create a WordPress site
2929

3030
```shell
31-
eev4 create example.com --wp
31+
ee4 create example.com --wp
3232
```
3333

3434
2. Delete a site
3535
```shell
36-
eev4 delete example.com
36+
ee4 delete example.com
3737
```
3838

3939
3. Use wp-cli with a site
4040
```shell
41-
eev4 wp example.com theme list
41+
ee4 wp example.com theme list
4242
```
4343

44-
Run `eev4 --help` for all commands.
44+
Run `ee4 --help` for all commands.
4545

4646
## Configuration
4747

4848
The sites get created at `/var/www`. You can view and change the configuration
4949
for any of the sites at `/var/www/SITE/config`
5050

51-
Run `eev4 restart SITE` to load new configuration.
51+
Run `ee4 restart SITE` to load new configuration.
5252

5353
## Contributing
5454

‎scripts/eev4‎ renamed to ‎scripts/ee4‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
PROJECT_NAME="eev4"
3+
PROJECT_NAME="ee4"
44
EE_INSTALL_DIR="/opt/$PROJECT_NAME"
55
ETC_HOSTS=/etc/hosts
66
LOCALHOST_IP="127.0.0.1"
@@ -19,7 +19,7 @@ runAsRoot() {
1919

2020
# help provides possible cli arguments
2121
help () {
22-
echo -e "\nUsage: eev4 [Global Options]"
22+
echo -e "\nUsage: ee4 [Global Options]"
2323
echo -e "\nGlobal Options:"
2424
echo -e "\t[--help|-h ]\t\tprints this help"
2525

@@ -29,16 +29,16 @@ help () {
2929
echo -e "\trestart\t\t\tReload configuration for existing site"
3030
echo -e "\twp\t\t\tUse wp-cli with a site"
3131

32-
echo -e "\nUsage: eev4 create SITE [Options]"
32+
echo -e "\nUsage: ee4 create SITE [Options]"
3333
echo -e "\nOptions:"
3434
echo -e "\t[--wp ]\t\t\tWordPress Site"
3535
echo -e "\t[--wpsubdir ]\t\tWordPress Multisite with Subdirectory"
3636
echo -e "\t[--wpsubdomain ]\tWordPress Multisite with Subdomains"
3737

38-
echo -e "\nUsage: eev4 delete SITE"
38+
echo -e "\nUsage: ee4 delete SITE"
3939

40-
echo -e "\nUsage: eev4 wp SITE [ARG...]"
41-
echo -e "\te.g. eev4 wp example.com theme list"
40+
echo -e "\nUsage: ee4 wp SITE [ARG...]"
41+
echo -e "\te.g. ee4 wp example.com theme list"
4242
}
4343

4444
singleWordPress() {

‎scripts/setup‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22

3-
PROJECT_NAME="eev4"
3+
PROJECT_NAME="ee4"
44
REPO_URL="https://github.com/EasyEngine/docker-compose-wordpress"
55
VERSION="master"
66

@@ -63,8 +63,8 @@ cloneRepo() {
6363
# installScript installs the main script.
6464
installScript() {
6565
EE_INSTALL_DIR="/opt/$PROJECT_NAME"
66-
EE_SCRIPT="scripts/eev4"
67-
EE_SCRIPT_INSTALL_PATH="/usr/local/bin/eev4"
66+
EE_SCRIPT="scripts/ee4"
67+
EE_SCRIPT_INSTALL_PATH="/usr/local/bin/ee4"
6868

6969
rm -rf "$EE_INSTALL_DIR"
7070
echo "Preparing to install into $EE_INSTALL_DIR"

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /