I understand that Octopress is designed to run as a standalone web application.
I have a personal website, and I want to add a blog to it, and for numerous reasons I would like to use Octopress for this. Rather than having two separate applications and repos in git, I would like to integrate these apps together.
Is there a reliable way to integrate Octopress into an existing Rails 4.0 application?
Would my best bet be to mount Octopress as a rack application inside the Rails router, or is there a better way?
sinatra/base
app, so I believe it is possible tomount OctopressApp, :at => '/blog'
inside a Railsroutes.rb
file. – Cheremkhovorake generate
you will get apublic
folder containing your blog. Octopress is a wrapper for Jekyll (jekyllrb.com) which itself is a static site generator. The Sinatra part you are referring to is for preview and development. – Eyelash