私は最近、Ruby/Passenger/Apache での作業に問題があったため、Octopress で使用するために Ruby を「オンザレール」にするためのソリューションを探し始めました。Github ページで Octopress サイトをホストすることにしました。
今、私は自分のoctopressを実行していますが、GithubとOctopressを初めて使用するため、問題が発生しています-誰かが私を助けてくれるでしょうか?
私は持っています:
- マスターブランチ
- ソース ブランチ
これは私が見るものです:
User@WKS-021 ~/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)
と:
User@WKS-021 ~/octopress $ git branch
* source
今のところ、気に入ったテーマをインポートしましたが、投稿を展開するにはどうすればよいですか? たとえば、私ができる Octopress のドキュメントから:
rake new_post["Hello Octopress"]
# Creates source/_posts/2012-01-30-Hello-Octopress.markdown
これは(rakeの生成/展開後)で見ることができます
~/octopress/source/_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
私は何を間違っていますか、そして投稿はフロントページ(index.html)に来ていますか?ページを作成しようとしましたが、同じ問題です。