使用octopress在 github上建立部落格

2021-08-26 19:16:11 字數 761 閱讀 5275

我使用的是fedora 16 linux,裝在virtual box 虛擬機器裡面。使用1.9.3版本的ruby**,需要先安裝yaml庫,執行下面的**

wget

tar xzvf yaml-0.1.4.tar.gz 

cd yaml-0.1.4

./configure –prefix=/usr/local

make

make install

安裝完後,執行ruby -v

ruby 1.9.3p125 (2012-02-16) [i686-linux]

國內的使用者,修改rubygems.org 為 ruby.taobao.org 進行加速。

gem sources –remove

gem sources –add

gem sources list

動作很簡單 yum install git -y

配置git

git config –global user.name 「your name」

git config –global user.email yourname@email_server

git config –global github.user username

git config –global github.token token******x

主要參考了這篇文章,像黑客一樣寫部落格,基本上寫的還是很明白。

需要注意的幾點:

1.像黑客一樣寫部落格 

2.配置git 

在 SVN 中使用 Git

將 module1 開發的變動提交 svn tree svn module1 module2 module3 doc configure readme.md在module1 中小步開發,在module1 使用單獨的 vcs version control system pwd cd module1 ...

在IDEA中使用Git

設定git主程式路徑 test測試一下路徑是否正確 如果是組長 前輩搭建好了骨架,放在遠端倉庫上,我們先從遠端倉庫clone專案到本地倉庫 也可以 vcs git clone idea會自動記錄檔案的改變,可以在local history中檢視,但沒有git好用。如果是自己搭建骨架,先建立本地倉庫,...

在webstorm裡使用git

1,設定git 開啟webstorm軟體,找到file下面的settings 設定 開啟設定對話窗,找到version control的子級目錄git,路徑path輸入git安裝目錄下bin目錄裡的git.exe,不是cmd目錄下的git.exe 2,設定github 還是上面步驟,選擇versio...