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
精彩评论