Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Clean docker section formatting in readme #6921

Merged
merged 1 commit into from
Mar 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Clean docker section formatting
  • Loading branch information
hguthrie authored Mar 24, 2020
commit 55d6317303bdaad6b7d4d2246f303f5c66a2c858
26 changes: 15 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,25 +145,29 @@ exclude:
## Docker (docker-compose)

Docker provides a quick and easy way to build and preview the documentation. You do not need to install Ruby dependencies manually. This Docker solution launches Jekyll inside the container in `watch` mode.
ruby dependency manually. The provided setup starts Jekyll inside the container in watch mode.
Every change of a markdown file will automatically trigger a rebuild of the documentation.

1. Install [Docker](https://www.docker.com/get-started). If you have Docker installed, make sure Docker is running.
Every change of a markdown file automatically triggers a rebuild of the documentation.

1. Install [Docker](https://www.docker.com/get-started). If you have Docker installed, launch the Docker application.

1. Clone the DevDocs repository.

1. Change to the `devdocs` directory.

1. Build and start the Docker environment.

```bash
docker-compose up
```
```bash
docker-compose up
```

1. Use the server address URL provided by the system response.

For example:
For example:

```terminal
jekyll_1 | Server address: http://127.0.0.1:4000/
jekyll_1 | Server running... press ctrl-c to stop.
```
```terminal
jekyll_1 | Server address: http://127.0.0.1:4000/
jekyll_1 | Server running... press ctrl-c to stop.
```

1. Press `Ctrl+C` in the serve terminal to stop the server.

Expand Down