serving locally
(WIP : not working currerntly, but close)
extract zscaler cert via: security find-certificate -p -c "Zscaler Root CA" > ./zscaler_root_ca.pem
on a mac
1
2
3
4
5
6
7
docker run --rm -v=$(pwd):/srv/jekyll -p 4000:4000 -it jekyll/jekyll /bin/bash
# optional if you need to get zscaler cert in
cp docker/zscaler_root_ca.pem /usr/local/share/ca-certificates/ && update-ca-certificates
bundle
gem install jekyll-admin
git config --global --add safe.directory /srv/jekyll
jekyll serve --force_polling
viewable on http://localhost:4000
admin on http://localhost:4000