UP

Jekyll Serve Command

运行jekyll的命令:

# 运行
$ bundle exec jekyll serve
# 后台运行
$ bundle exec jekyll serve --detach
# 在80端口运行
$ bundle exec jekyll serve --detach --host 10.0.8.4 --port 80
# 使用https协议
$ bundle exec jekyll serve --detach --host 10.0.8.4 --port 443 --ssl-key private.key --ssl-cert cert.pem

结束jekyll进程的命令:

pkill -f jekyll
kill -9 process_id

just-run.sh

#/bin/bash
bundle exec jekyll serve --unpublished

References