ご注文は何ですか?

Welcome to DayDream Cafe(´・ω・`)

OctopressとGitHubでブログ作成

経緯

Github.io ってかっこよくね?

作成

[1]Octopressを用いてローカル上にブログ設置


1
2
3
4
5
$ git clone git://github.com/imathis/octopress.git octopress
$ bundle install —-path vendor/bundle
$ rake install
$ rake generate #staticサイト作成  
$ rake preview #ローカル確認 localhost:4000  

[2]username+github.io を用いてGitHubPagesを作成


1
2
3
$ rake setup_github_pages #gitのSSHキー入力  
$ rake generate #staticサイト作成  
$ rake deploy #GitHubにcommitされる.

[3]ブログの設定/投稿/OctopressのTheme変更


[設定]

1
$ vim _config.yml #各自弄ってください.  

[投稿]

1
2
$ bundle exec rake new_post['記事のナンバー(英語)']  # 記事のタイトルは記事書くときに日本語タイトルに変更可  
$ rake gen_deploy #rake generate , rake deploy  

[Theme変更]

1
2
3
$ git clone themeの保存されているssh .themes/テーマ名
$ rake install['テーマ名']
$ rake generate

参考/引用ページ


3rd Party Octopress Themes
GitHub Pages + Octopress カスタマイズ
Octopress簡単スタートガイド
GitHub pages + Octopressの導入