projects
/
rnaseq-cwl-training.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use bundler to render lessons
[rnaseq-cwl-training.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index 5ae969f6ddb2ae93bc9415aceebbd94cb065fbd3..5c9eba08ee49bcaec7b91c172f733136f973dad1 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-3,8
+3,9
@@
# Settings
MAKEFILES=Makefile $(wildcard *.mk)
# Settings
MAKEFILES=Makefile $(wildcard *.mk)
-JEKYLL=jekyll
JEKYLL_VERSION=3.8.5
JEKYLL_VERSION=3.8.5
+JEKYLL=bundle update && bundle exec jekyll
+JEKYLL_DOCKER=${JEKYLL} serve --host 0.0.0.0
PARSER=bin/markdown_ast.rb
DST=_site
PARSER=bin/markdown_ast.rb
DST=_site
@@
-43,7
+44,7
@@
commands :
## docker-serve : use docker to build the site
docker-serve :
## docker-serve : use docker to build the site
docker-serve :
- docker run --rm -it -v ${PWD}:/srv/jekyll -p
127.0.0.1:4000:4000 jekyll/jekyll:${JEKYLL_VERSION} make serve
+ docker run --rm -it -v ${PWD}:/srv/jekyll -p
4000:4000 jekyll/jekyll:${JEKYLL_VERSION} ${JEKYLL_DOCKER}
## serve : run a local server.
serve : lesson-md
## serve : run a local server.
serve : lesson-md