Carlos Aguni

Highly motivated self-taught IT analyst. Always learning and ready to explore new skills. An eternal apprentice.


Jekyll Dev platform

18 Apr 2020 » devtools
docker rm -f jekyll
docker run -dit \
    --name jekyll \
    -v /<jekyll folder>/:/folder \
    --net=host \
    jekyll/jekyll bash

docker exec -it jekyll bash

bundle install
jekyll serve -l

or

docker exec -dit jekyll bash -c "cd /folder; bundle install;nohup jekyll serve -l > /dev/null 2>&1"