Skip to content

Commit ba09904

Browse files
remove plugin/theme specific environment settings, generalize setup for full install
1 parent 3c5e659 commit ba09904

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

.env.example

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,2 @@
11
# WordPress variables
2-
WP_VERSION=latest
3-
4-
# Module (plugin/theme) variables
5-
WP_MOD_TYPE=theme # theme OR plugin
6-
WP_MOD_NAME=vocabulary-theme # unique & hyphenated
2+
WP_VERSION=latest

README.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,4 @@ containers:
3030
docker compose up
3131
```
3232
4. Wait for build and initialization to complete
33-
5. Install WordPress initially through the GUI. (TODO: Script help here)
34-
35-
Plugin/Theme dev work should be done within the `/src` directory.
33+
5. Install WordPress initially through the GUI. (TODO: Script help here)

docker-compose.yml

-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ services:
3131
- '8080:80'
3232
restart: always
3333
volumes:
34-
- ./src:/var/www/html/wp-content/${WP_MOD_TYPE:?err}s/${WP_MOD_NAME:?err}
3534
- wp_data:/var/www/html
3635

3736
database:

0 commit comments

Comments
 (0)