LoginSignup
3
4

More than 5 years have passed since last update.

GitHub Pagesの開設のしかた Jekyll-Bootstrap編(2012年9月版、なるべく「GitHub for Mac」を使う)

Last updated at Posted at 2013-02-07

Jekyll-BootstrapはJekyllサイトを簡単にブログ化してくれるパッケージです。Jekyllだけで一から作るより手軽そうなのが特徴。

  1. USERNAME.github.comという名前のリポジトリをGitHubにつくる(空のままで良い)
  2. GitHub for MacJekyll-BootstrapローカルのUSERNAME.github.comというフォルダにcloneする
  3. .git/configを編集する

    [remote "origin"]
        fetch = +refs/heads/*:refs/remotes/origin/*
        url = git@github.com:USERNAME/USERNAME.github.com.git
    

    これで、先ほど作った空のリポジトリにUSERNAME.github.comフォルダの中身をPushできる。

  4. GitHub for MacでPublishする

  5. しばらく待つとサイトができるので、http://USERNAME.github.comをブラウザで開いて確認する

  6. 次に_config.ymlを編集して名前やらメールアドレスやらTwitterアカウントを編集する

  7. GitHub for MacでCommit & Syncする

  8. 記事を書いてみる。記事名にはマルチバイト文字も使えるが、スペースを混ぜるのはダメ。

    $ vim _post/2012-03-22-installed-jekyll-bootstrap.md
    
  9. GitHub for MacでCommit & Syncする


ブログやってます:PAPA-tronix !

3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4