Skip to content

Commit

Permalink
update README to reflect changes with URL_REPLACE environment variable (
Browse files Browse the repository at this point in the history
  • Loading branch information
urbantrout authored and dsifford committed May 1, 2018
1 parent 7227bc5 commit 0fe296d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ docker-compose exec wordpress /bin/bash 'wp db export /data --allow-root'
Finally, sometimes your development environment runs on a different domain than
your live one. The live will be `example.com` and the development
`localhost:8080`. This project does a search and replace for you. You can set
the `URL_REPLACE: example.com,localhost:8080` environment variable in the
the `URL_REPLACE: localhost:8080` environment variable in the
`docker-compose.yml`.

## Using in Production
Expand Down
9 changes: 4 additions & 5 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

# Quickstart

Download this example to your current working directory
Expand Down Expand Up @@ -31,7 +30,7 @@ services:
academic-bloggers-toolkit,
co-authors-plus,
[WP-API]https://github.com/WP-API/WP-API/archive/master.zip,
URL_REPLACE: yoursite.com,localhost:8080
URL_REPLACE: localhost:8080
WP_DEBUG: 'true'
db:
image: mysql:5.7 # or mariadb:10
Expand Down Expand Up @@ -64,10 +63,10 @@ volumes:
## Running the example
1. Run the following command in the root of the example directory.
1. Run the following command in the root of the example directory.
```sh
$ docker-compose up -d && docker-compose logs -f wordpress
```

2. When the build is finished, hit <kbd>ctrl</kbd>-<kbd>c</kbd> to detach from the logs and visit `localhost:8080` in your browser.

2. When the build is finished, hit <kbd>ctrl</kbd>-<kbd>c</kbd> to detach from the logs and visit `localhost:8080` in your browser.

0 comments on commit 0fe296d

Please sign in to comment.