From 766b62238f38c47bbfd853b133c15e40e1acf002 Mon Sep 17 00:00:00 2001 From: yuchenlin Date: Mon, 21 Jan 2019 12:27:18 +0800 Subject: [PATCH] README.md: add solution of write permission when setup docker env (#450) * README.md: add solution of write permission when setup docker env Signed-off-by: Yu-Chen Lin * Update README.md --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index d35d060..2b410e5 100644 --- a/README.md +++ b/README.md @@ -237,6 +237,12 @@ Beautiful Jekyll is meant to be so simple to use that you can do it all within t docker run -d -p 4000:4000 --name beautiful-jekyll -v "$PWD":/srv/jekyll beautiful-jekyll ``` +Note: If you encounter write permission problems with `Gemfile.lock`, try: + +```bash +touch Gemfile.lock +chmod a+w Gemfile.lock +``` Now that Docker is set up, you do not need to run the above steps again. You can now view your website at http://localhost:4000/. You can start the container again in the future with: