2013-06-01 62 views
0

我最近開始尋找一種解決方案,以獲得使用Octopress的Ruby on Rails,因爲我在使用Ruby/Passenger/Apache時遇到了問題,所以我決定在Github頁面上託管我的Octopress站點。張貼在Octopress

現在我已經有了自己的八段機,但我遇到了問題,因爲我是Github和Octopress的新手 - 也許有人可以幫我解決問題?

我有一個:

  • 主分支
  • 源科

這是我所看到的:

[email protected] ~/octopress $ git remote -v 
octopress git://github.com/imathis/octopress.git (fetch) 
octopress git://github.com/imathis/octopress.git (push) 
origin https://github.com/xxxxx/xxxxx.github.com.git (fetch) 
origin https://github.com/xxxxx/xxxxx.github.com.git (push) 

和:

[email protected] ~/octopress $ git branch 
* source 

現在我輸入了我喜歡的主題,但是如何部署帖子?例如從Octopress文檔,我可以這樣做:

rake new_post["Hello Octopress"] 
# Creates source/_posts/2012-01-30-Hello-Octopress.markdown 

我可以看到這個(後耙生成/部署)

〜/ octopress /源/ _posts(本地)

但即使:

$rake generate 
$git add . 
$git commit -m "Initial blog post." 
$git push origin source 
$rake deploy 

我不能用它做任何事情,當我填寫的瀏覽器 - 我不斷地得到一個404頁面錯誤

http://xxxxx.nl/blog/2012/01/30/Hello-Octopress

我在做什麼錯誤,是在FrontPage(index.html)上發佈的帖子還是?甚至試圖製作頁面,但同樣的問題。

+0

你把事情做完了嗎?我面臨同樣的問題。 – iStar

回答