getting railfrog running

0 views
Skip to first unread message

saylor09

unread,
Dec 4, 2008, 11:15:45 AM12/4/08
to railfrog-dev
hello, I just downloaded the railfrog sample app and got it running.
However, when I go to http://localhost:3000 I just get a 404 not found
error. Is there something simple that I'm missing?

Thomas Nichols

unread,
Dec 4, 2008, 11:52:57 AM12/4/08
to railfrog-dev
A 404 is (confusingly) exactly what's expected - since there is no
page defined for this route. We *really* should change that...

If you create a file "index.html" (this is configurable, index.html is
the default) in the root directory, Railfrog will find it, apply any
layout specified with the "layout" label (none, by default) and render
it to the browser. The fun in Railfrog is all in the layouts and
labels.

This week and next a couple of us plan to blow the dust off the code
and put a couple of sites together, but we'll try to make sure there's
a smooth upgrade path. Feel free to ask here if you have any
questions, or join #railfrog on IRC (FreeNode).

Thomas.

On 4 Dec, 16:15, saylor09 <scott.say...@gmail.com> wrote:
> hello, I just downloaded the railfrog sample app and got it running.
> However, when I go tohttp://localhost:3000I just get a 404 not found
Reply all
Reply to author
Forward
0 new messages