docker run -p 80:4000 -v c:\tmp:/srv/jekyll jekyll/jekyll jekyll s -s ./my-site --watch --force-polling
Browse http://127.0.0.1:4000
on Windows 7 with Docker toolbox:
replace "c:\tmp" to "/c/tmp"
docker run -p 4000:4000 -v /c/Users/Jack_Lin/Documents/abc:/srv/jekyll jekyll/jekyll jekyll s --watch --force-polling
Browse http://192.168.99.100:4000
If your want to customize minima theme. check
https://github.com/jekyll/minima
沒有留言:
張貼留言