File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 99.Rproj.user
1010.Rhistory
1111.RData
12-
12+ Gemfile.lock
Original file line number Diff line number Diff line change 1+ source 'https://rubygems.org'
2+ gem 'github-pages' , group : :jekyll_plugins
Original file line number Diff line number Diff line change 33
44# Settings
55MAKEFILES =Makefile $(wildcard * .mk)
6- JEKYLL =jekyll
76JEKYLL_VERSION =3.8.5
7+ JEKYLL =bundle update && bundle exec jekyll
8+ JEKYLL_DOCKER =${JEKYLL} serve --host 0.0.0.0
89PARSER =bin/markdown_ast.rb
910DST =_site
1011
@@ -43,7 +44,7 @@ commands :
4344
4445# # docker-serve : use docker to build the site
4546docker-serve :
46- docker run --rm -it -v ${PWD} :/srv/jekyll -p 127.0.0.1: 4000:4000 jekyll/jekyll:${JEKYLL_VERSION} make serve
47+ docker run --rm -it -v ${PWD} :/srv/jekyll -p 4000:4000 jekyll/jekyll:${JEKYLL_VERSION} ${JEKYLL_DOCKER}
4748
4849# # serve : run a local server.
4950serve : lesson-md
You can’t perform that action at this time.
0 commit comments