GitHub Pageを
もうちょっとだけリッチにしたい。でも静的なページのホスティングしかしないじゃん。
Jekyllってのがあるらしい
どうやらJekyllってのがあるらしい。
- Using Jekyll with Pages · GitHub Help
- jekyll/jekyll · GitHub
- Jekyll • Simple, blog-aware, static sites
- 30分のチュートリアルでJekyllを理解する
というわけで
やってみようじゃないの
記録
[14:30:51] → pwd /Users/otiai10 [14:30:53] → ruby --version ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13] [14:30:58] → sudo gem install bundler Password: Fetching: bundler-1.5.3.gem (100%) Successfully installed bundler-1.5.3 Parsing documentation for bundler-1.5.3 Installing ri documentation for bundler-1.5.3 1 gem installed [14:31:55] → mkdir -p ~/proj/jekyll/mysample [14:32:29] → cd ~/proj/jekyll/mysample [14:32:34] → vi Gemfile [14:32:47] → which bundle /usr/bin/bundle [14:33:04] → bundle install Resolving dependencies... Your Gemfile has no gem server sources. If you need gems that are not already on your machine, add a line like this to your Gemfile: source 'https://rubygems.org' Could not find gem 'github-pages (>= 0) ruby' in the gems available on this machine. [14:33:10] → gem install 'github-pages' ^CERROR: Interrupted [14:34:10] → sudo gem install 'github-pages' #略 25 gems installed [14:39:39] → bundle install Resolving dependencies... Using RedCloth (4.2.9) Using blankslate (2.1.2.4) Using fast-stemmer (1.0.2) Using classifier (1.3.4) Using colorator (0.1) Using highline (1.6.20) Using commander (4.1.6) Using ffi (1.9.3) Using liquid (2.5.5) Using rb-fsevent (0.9.4) Using rb-inotify (0.9.3) Using rb-kqueue (0.2.2) Using listen (1.3.1) Using maruku (0.7.0) Using posix-spawn (0.3.8) Using yajl-ruby (1.1.0) Using pygments.rb (0.5.4) Using redcarpet (2.3.0) Using safe_yaml (0.9.7) Using parslet (1.5.0) Using toml (0.1.1) Using jekyll (1.4.3) Using kramdown (1.3.1) Using rdiscount (2.1.7) Using github-pages (15) Using bundler (1.5.3) Your bundle is complete! Use `bundle show [gemname]` to see where a bundled gem is installed. # せやな [14:39:50] → [14:40:12] → bundle exec jekyll serve Configuration file: none Source: /Users/otiai10/proj/jekyll/mysample Destination: /Users/otiai10/proj/jekyll/mysample/_site Generating... done. Server address: http://0.0.0.0:4000 Server running... press ctrl-c to stop. ^C% [14:54:44] → vi _config.yml [14:54:52] → [14:54:52] → [14:54:53] → vi index.html [14:55:02] → [14:55:02] → [14:55:03] → [14:55:03] → bundle exec jekyll serve WARNING: Error reading configuration. Using defaults (and options). Configuration file: (INVALID) /Users/otiai10/proj/jekyll/mysample/_config.yml Source: /Users/otiai10/proj/jekyll/mysample Destination: /Users/otiai10/proj/jekyll/mysample/_site Generating... done. Server address: http://0.0.0.0:4000 Server running... press ctrl-c to stop.
で、
おk。 あとはdocumentation見て書きながらさわりだけ覚えょ