One way to create and write your own blog.
Create new repository in github
For example, eyan0221.github.io.git
Install rvm
1
2
3
4
| curl -L https://get.rvm.io | bash -s stable
rvm install 1.9.3
rvm use 1.9.3
ruby --version
|
Setup Octopress
1
2
3
4
5
| git clone git://github.com/imathis/octopress.git octopress
cd octopress/
gem install bundler
bundle install
rake install
|
Deploy Github Pages
1
2
3
4
5
6
7
| sudo apt-get install nodejs
rake setup_github_pages
rake new_post
rake preview # check output in http://localhost:4000
rake generate
rake deploy
git push git@github.com:eyan0221/eyan0221.github.io.git source
|
markup
- copy image to /source/images/ and use below syntax to embed images
1
| <img src="/images/name.png">
|
Reference
- zerodie Github
- Octopress Setup
- Markdown Syntax
- Markdown Wiki
- TOC in Octopress
- brizzled github
- Another Octopress TOC