brownbro.com

initial commit

http://qiita.com/syui/items/07365ed24eef63602233 を参考に,以下の手順でOctopress を導入した。

$ cd /some/where/
$ git clone https://github.com/imathis/octopress
$ echo $!:t
$ bundle install --path vendor/bundle
$ bundle exec rake setup_github_pages
  Repository url: git@github.com:brownbro/brownbro.github.io.git
$ emacs _config.yml
$ bundle exec rake install
$ bundle exec rake gen_deploy
$ git commit -am "initial commit"
$ git push origin source

$!:t って書き方知らなかった。

そしてこの記事の書き方

$ bundle exec rake new_post
  Enter a title for your post: initial commit
$ emacs source/_posts/2014-08-01-initial-commit.markdown
$ bundle exec rake gen_deploy
$ git commit -am "first post"
$ git push origin source

最後3行まだ試してないですが。