Skip to content

Commit

Permalink
Update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
leecalcote authored Mar 6, 2019
1 parent ec171ce commit 2f3518b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
jekyll=bundle exec jekyll

site:
$(jekyll) serve --drafts --incremental
$(jekyll) serve --drafts --livereload

# With Jekyll Manager interface
site-admin:
ADMIN=on $(jekyll) serve --drafts --incremental
ADMIN=on $(jekyll) serve --drafts --livereload

build:
$(jekyll) build --drafts --incremental
$(jekyll) build --drafts --livereload

setup:
ADMIN=on bundle install

docker:
docker run --name layer5 --rm -p 4000:4000 -v `pwd`:"/srv/jekyll" jekyll/jekyll:3.7.3 bash -c "bundle install; jekyll serve --drafts --incremental"
docker run --name layer5 --rm -p 4000:4000 -v `pwd`:"/srv/jekyll" jekyll/jekyll:3.7.3 bash -c "bundle install; jekyll serve --drafts --livereload"

0 comments on commit 2f3518b

Please sign in to comment.