开发者

Add blog to Rails app on Heroku

I have a Rails app on Heroku with a Jekyll blog located at blog.myapp.com. I want to move the blog to www.myapp.com/blog/. What's the best way to do this? I'm happy to ditch Jekyll if there is an easier 开发者_JAVA技巧option. Thanks!


Bloggy seems to be what you're looking for.

"Bloggy is a simple gem that helps you generate a jekyll blog within your rails application by using generator commands similar to the ones you are used to already."


You should be able to change the base-url configuration to /blog for this to work.

https://github.com/mojombo/jekyll/wiki/Configuration

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜