Skip to content

Instantly share code, notes, and snippets.

@murachi1208
Created May 31, 2014 12:55
Show Gist options
  • Save murachi1208/c9bb59b26ae81ad3d229 to your computer and use it in GitHub Desktop.
Save murachi1208/c9bb59b26ae81ad3d229 to your computer and use it in GitHub Desktop.
Vagrant + GitHub(Pages) + Octopress でblogを作成(その1) ref: http://qiita.com/murachi1208/items/d36064fdba691d49bf66
Windows → Vagrant → CentOS → Octopress → jekyll → Github Pages
$ sudo su
# curl -L https://get.rvm.io | bash -s stable --ruby
# source /usr/local/rvm/scripts/rvm
# gem install bundler
# exit
$ /bin/bash --login
$ git clone git://github.com/imathis/octopress.git octopress
$ cd octopress
$ bundle install
$ rake install
$ git config --global user.name "自分のユーザー名"
$ git config --global user.email "自分のメールアドレス"
$ cd octopress
$ rake setup_github_pages
Enter the read/write url for your repository
(For example, 'git@github.com:your_username/your_username.github.io.git)
or 'https://github.com/your_username/your_username.github.io')
Repository url:
$ rake install
$ rake generate
$ rake deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment