jlong / serve

Serve is a small Rack-based web server and rapid prototyping framework for Web applications (specifically Rails apps). Serve is meant to be a lightweight version of the Views part of the Rails MVC. This makes Serve an ideal framework for prototyping Rails applications or creating simple websites. Serve has full support for Rails-style partials and layouts.
http://get-serve.com
Other
836 stars 90 forks source link

Allow "serve export" to support subdirectories #101

Open jhedstrom opened 11 years ago

jhedstrom commented 11 years ago

Currently when I run serve export, it assumes the resultant HTML will be served via the server root.

It would be nice to be able to specify a subdirectory name, or alternatively have the html export with relative links so it would work wherever it was placed.

marcelosomers commented 10 years ago

+1, this has to be the most frustrating part of the serve export command and requires going in to update the HTML after it's been exported.

jlong commented 10 years ago

Hey guys, I'm actually using Middleman for a lot of things now and find it works really well for static sites. I am curious though, if you're still using Serve for this what do you feel the advantages are?

marcelosomers commented 10 years ago

Thanks for the update, John! I'll have to take a look at Middleman (or Jekyll too).

If Serve is abandoned though, might be useful to put up a notice on the site and/or repo. Serve has been good to me and several friends, so it's too bad to see it go! I like the 1:1 with Rails.

jlong commented 10 years ago

I like it too, and it's not quite abandoned. Middleman seems to be what I was going for with Serve though. Highly recommend. Also it's way better than Jekyll.