Heroku上的Octopress应用程序仅显示空白页面

时间:2013-07-19 03:38:07

标签: deployment heroku octopress

这是我第一次使用Octopress,虽然我已经为heroku部署了多个rails应用程序。无论我做什么,我都无法将我的Octopress应用程序部署到heroku。当我这样做时,我得到的只是一个空白页。

我做的是:

git clone git://github.com/imathis/octopress.git
cd octopress
bundle install
rake install
rake preview    # working on localhost
heroku create
git add .
git commit -m "yo"
git push heroku master
heroku open

但它始终显示空白页面。我显然错过了一些非常愚蠢的东西。任何帮助将不胜感激。

1 个答案:

答案 0 :(得分:3)

我遇到了同样的问题。您将需要推送至少一篇博文。收到第一篇文章后,您的博客将会出现而不是空白页面。当你添加更多帖子和/或修改现有帖子时,不要忘记使用“rake generate”(就像我忘记了,然后不明白为什么Heroku上的帖子不会更新)。

相关问题