John W. Long wrote:
> Andy Buckley wrote:

> It looks like you are running the migrate command on the development
> database. Is that what you really want to do? To migrate your production
> database you will need to run:
> 
> $ rake production db:migrate

Ah, that's exactly the problem: I wasn't specifying "production" with
the other rake commands that I was running to install extensions. Thanks.

Okay, dumb question time. As the above shows, I'm not quite sure about
the role that development and production databases play in Radiant. Is
that just a generic Rails thing that doesn't really apply to *running* a
Radiant site?
Being pretty much a newcomer to Rails apps, is there any decent guide to
how I can use the development and production modes? At the moment I'm
just using the production mode which means I can't preview pages - in
particular, is there a way that I can add pages in draft mode and view
them on a development server (i.e. just webrick/mongrel on a different
port) before publishing them on the live site? I think I saw something
on the Radiant user guide to that effect but without a specific example.
Sorry if that's a very dumb question: it sounds like the sort of thing
that *should* be obvious :-)

Thanks again,
Andy
_______________________________________________
Radiant mailing list
Post:   [email protected]
Search: http://radiantcms.org/mailing-list/search/
Site:   http://lists.radiantcms.org/mailman/listinfo/radiant

Reply via email to