Skip to content

Commit

Permalink
Fix docker server application
Browse files Browse the repository at this point in the history
  • Loading branch information
RodolfoSilva committed May 1, 2018
1 parent ccb2301 commit f44086c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
watch:
@docker run --rm --volume="$PWD:/srv/jekyll" -it jekyll/jekyll:3.5 jekyll build --watch
serve:
@docker run --rm \
--volume="$$PWD:/srv/jekyll" \
--volume="$$PWD/vendor/bundle:/usr/local/bundle" \
-p 35729:35729 \
-p 4000:4000 \
-it jekyll/jekyll:latest jekyll serve --force_polling --livereload
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Certifique-se de você tem o docker instalado

$ git clone [email protected]:linguagil/2018.git
$ cd 2018
$ make watch
Abra o arquivo ```2018/_site/index.html```
$ make serve

Abra a url: http://0.0.0.0:4000/

## Como participar da organização

Expand Down

0 comments on commit f44086c

Please sign in to comment.