Readme.md: fix instructions for dirs with spaces (#351)

$PWD needs to be surrounded in quotes so that the commands work when any folder in the path has a space in it.
This commit is contained in:
Chris Kennedy 2018-04-25 11:54:20 -07:00 committed by Dean Attali
parent c3ba5629c4
commit f035e4391a

View File

@ -220,8 +220,8 @@ Beautiful Jekyll is meant to be so simple to use that you can do it all within t
```bash ```bash
cd <repository_folder> cd <repository_folder>
docker build -t beautiful-jekyll $PWD docker build -t beautiful-jekyll "$PWD"
docker run -d -p 4000:4000 --name beautiful-jekyll -v $PWD:/srv/jekyll beautiful-jekyll docker run -d -p 4000:4000 --name beautiful-jekyll -v "$PWD":/srv/jekyll beautiful-jekyll
``` ```