From a290b4db9fb4df9c6079ef317c63548beb69fb32 Mon Sep 17 00:00:00 2001 From: FahimFBA Date: Tue, 17 Dec 2024 10:58:14 +0600 Subject: [PATCH] fix: typo and extra line break resolved issue 2689 and added extra line break to make the docs look better --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index acbf1eaea7be5..facfc140328ee 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,9 @@ To run the `docker run` command on Windows, you need to adjust the syntax for th ### Steps for Windows: 1. **Check Docker Installation**: Ensure Docker is installed and running. 2. **Adjust Path for Volume Mapping**: + - On Windows, replace `$(pwd)` with the full absolute path to your current directory. For example: + ```bash -v C:\path\to\your\site:/usr/src/app ``` @@ -68,7 +70,7 @@ docker run -p 4000:4000 --rm -v C:\path\to\your\site:/usr/src/app jekyll-site ``` ### Things to Keep in Mind: -1. **Use PowerShell?**: +1. **Use PowerShell**: - If you are using PowerShell, you can use `${PWD}` for the current directory: ```bash docker run -p 4000:4000 --rm -v ${PWD}:/usr/src/app jekyll-site @@ -82,10 +84,12 @@ docker run -p 4000:4000 --rm -v C:\path\to\your\site:/usr/src/app jekyll-site 3. **Run in Command Prompt or PowerShell**: - In *Command Prompt*: + ```bash docker run -p 4000:4000 --rm -v C:\path\to\your\site:/usr/src/app jekyll-site ``` - In *PowerShell*: + ```bash docker run -p 4000:4000 --rm -v ${PWD}:/usr/src/app jekyll-site ```