사용자 도구

사이트 도구


site_generator:jekyll

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
site_generator:jekyll [2019/09/10 12:53]
kwon37xi [Docker로 설치 실행]
site_generator:jekyll [2020/05/12 17:42] (현재)
kwon37xi
줄 22: 줄 22:
 </code> </code>
  
-===== Docker로 설치 실행 =====+===== Docker로 작성시 확인 =====
   * https://hub.docker.com/r/jekyll/jekyll/   * https://hub.docker.com/r/jekyll/jekyll/
   * https://github.com/envygeeks/jekyll-docker   * https://github.com/envygeeks/jekyll-docker
   * 가장 최신버전으로 ''4000'' 번 포트로 서버 실행하면서 현재 디렉토리 컨텐츠 서빙한다. 매번 컨테이너를 새로 생성한다.   * 가장 최신버전으로 ''4000'' 번 포트로 서버 실행하면서 현재 디렉토리 컨텐츠 서빙한다. 매번 컨테이너를 새로 생성한다.
 <code sh> <code sh>
-docker run --rm --name <docker-image-name> --volume="$PWD:/srv/jekyll" -p 4000:4000 -it jekyll/jekyll jekyll serve+docker run --rm --volume="$PWD:/srv/jekyll" -p 4000:4000 
 +    -it jekyll/jekyll jekyll server --unpublished --future --incremental
 </code> </code>
   * ''JEKYLL_UID'', ''JEKYLL_GID'' 환경변수를 지정하여 생성한 파일의 uid,gid 지정가능. 기본 ''1000''   * ''JEKYLL_UID'', ''JEKYLL_GID'' 환경변수를 지정하여 생성한 파일의 uid,gid 지정가능. 기본 ''1000''
   * ''build''만 하기 등의 명령을 직접 줄 수 있다.   * ''build''만 하기 등의 명령을 직접 줄 수 있다.
 +
 +===== 로컬에서 작업중인 글 확인 =====
 +  * [[http://www.fizerkhan.com/blog/posts/Working-with-upcoming-posts-in-Jekyll.html|Working with upcoming posts in Jekyll]]
 +  * ''%%--%%future'', ''%%--%%unpublished'', ''%%--%%drafts'' 등의 옵션으로 실서버에는 배포되지 않는 작업중인 내용을 볼 수 있다.
  
 ===== with Github ===== ===== with Github =====
줄 36: 줄 41:
   * [[https://help.github.com/articles/about-github-pages-and-jekyll/|About GitHub Pages and Jekyll - User Documentation]] [[git:github|Github]] 은 Jekyll을 공식 지원하기 때문에 최종 Site까지 빌드하지 않고 블로그에 필요한 *.md 파일까지만 작성해서 Push하면 최종 사이트 빌드는 Github이 알아서 해준다.   * [[https://help.github.com/articles/about-github-pages-and-jekyll/|About GitHub Pages and Jekyll - User Documentation]] [[git:github|Github]] 은 Jekyll을 공식 지원하기 때문에 최종 Site까지 빌드하지 않고 블로그에 필요한 *.md 파일까지만 작성해서 Push하면 최종 사이트 빌드는 Github이 알아서 해준다.
   * 그 외의 static site generator는 최종 사이트 HTML 빌드까지 다 해서 올려야 하느 방식인 듯.   * 그 외의 static site generator는 최종 사이트 HTML 빌드까지 다 해서 올려야 하느 방식인 듯.
 +
 +===== Templates =====
 +  * [[https://github.com/thiagorossener/jekflix-template|jekflix - netflix 스타일 템플릿]]
 +  * [[https://github.com/sproogen/modern-resume-theme|Modern Resume Theme]]
 +
 +===== 참조 =====
 +  * [[https://yermilov.github.io/blog/2017/02/20/using-jekyll-asciidoctor-and-github-pages-for-static-site-creation/|Using Jekyll, Asciidoctor and GitHub Pages for static site creation - Development notes by Yaroslav Yermilov]]
 +  * https://github.com/asciidoctor/jekyll-asciidoc
 +  * https://github.com/asciidoctor/jekyll-asciidoc-quickstart
 +  * [[https://github.com/barryclark/jekyll-now|barryclark/jekyll-now: Build a Jekyll blog in minutes, without touching the command line.]]
site_generator/jekyll.1568087581.txt.gz · 마지막으로 수정됨: 2019/09/10 12:53 저자 kwon37xi