Forum: Ruby on Rails Convert Existing Site

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Tom (Guest)
on 2007-01-01 17:17
(Received via mailing list)
Anyone tried to convert an existing static site (say, built with Front
Page) to the Rails framework?

If so, any hints?

Thanks.
Hank M. (Guest)
on 2007-01-01 18:11
(Received via mailing list)
If it's really something spit out of frontpage or some other end user
design
tool, *I* would pretty much start from scratch; but that's just me.

If you really want a quick and dirty convert job ...

Grab the stylesheet and images and stick them in their respective
public/
folders, save a 'view source' of the main page and copy that to
layouts/application.rhtml.

Edit to clean up image and stylesheet references to new pathing, add
your
dynamic layout tag to the application.rhtml.

You've now cloned the look of the old site ... start on your models and
controllers.

Really though, just rewrite it ;)
Tom Browder (Guest)
on 2007-01-01 18:19
(Received via mailing list)
Thanks for the suggestion, Hank.

-Tom

Tom Browder
Niceville, Florida
USA
This topic is locked and can not be replied to.