Git_Github > Github Pages

GithubWebڡȤ

Github Pageshtml

ڡϡ2ξ˺뤳ȤǤޤ ʬΥȤɳŤ֥桼ڡפȡݥȥ̤Ρ֥ץȥڡס

桼ڡκ

  1. ʬΥȤˡaccount-name.github.ioפȤݥȥ
  2. ˡɬפHTMLե֤
  3. http://account-name.github.io/פ˥

HTML KickstartȤȤȡڥ󡣺äƤߤ

ץȥڡκ

ݥȥgh-pagesȤ֥ڤäơɬץե򤽤Υ֥ͤùС

  1. ڡꤿݥȥ(yourRepository)ˡgh-pagesפȤ֥
  2. ˡɬפHTMLե֤
  3. http://account-name.github.io/yourRepositoryפ˥

äƤߤ

ڡι

ѹƤMaster֥CommitơMastergh-pages˥ޡ롣

jekyllǡGithub pages

markdownWebڡ󥰤Ƥ롣

Github Pagesϡjekyll󥰥󥸥˺ѤƤ롣

󥹥ȡ

$ gem install github-pages
$ github-pages -v

RubyƤ

JekyllץȤ

$ jekyll new jekyll-demo
$ cd jekyll-demo

󥰤ƥdzǧ

$ jekyll s

ޤ

$ jekyll build
$ jekyll serve

ǡhttp://localhost:4000/ ǥڡǧǤ롣

Githubݥȥ

ݥȥȤؤOK

Ȥϡݥȥpush롣

ڡȥʤɤѤ

config.yml Խ

postեMDեɲäȡڡˤʤ롣

ͻ

Jekyllλ

JekyllϡRubyǤǤƤ롣

Ruby

ޤRubyRuby Gem͡

rubyDevelopment KitƤ

Windows10bashǤ⤤⡣

Jekyll

Quick-start ɤäƤߤ

> ~ $ gem install jekyll
> ~ $ gem install bundler
> ~ $ jekyll new myblog
> ~ $ cd myblog
> ~/myblog $ jekyll serve
> # => http://localhost:4000 򸫤Ƥ

bundeler̵Ȥ줿Τɲä ޥɥ饤ʸɤϡեJISΤޤޤǤʿä

Jekyll theme ŬѤ


  ȥå   ʬ Хåå   ñ측 ǽ   إ   ǽRSS
Last-modified: 2017-01-22 () 21:03:27 (1004d)