Created
May 31, 2014 12:55
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows → Vagrant → CentOS → Octopress → jekyll → Github Pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git config --global user.name "自分のユーザー名" | |
$ git config --global user.email "自分のメールアドレス" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ 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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake install | |
$ rake generate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ rake deploy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment