I am in the process of redesigning my site and was thinking about
incorporating RoR into the overall structure. However, there are
multiple things I would like to create with Rails, namely a gallery, a
weblog, and portfolio management system. Given that I am going to be
using a lot of RoR, what is the best way to accomplish this task? Here
are some random things that have come up and I am hoping some of you
guys/gals can help:
Should I create a separate web app for each of the aforementioned
items? Then I would have separate directories for each with their own
public folders, stylesheets, etc.
Should I lump everything into one master CMS system and have that be
my main app and then create controllers for each of the other items?
I am having trouble getting my head around the whole folder structure
thing. Let’s say I have my website on my local computer for testing at:
Then I have everything that I want the public to see under that folder
(i.e. images, css, etc.). However, I have my RoR apps at:
I have tried using symbolic links to map from the apps/gallery/public
folder to /mysite/public/gallery/ and the page will display but it is
still trying to find the site assets under apps/gallery/public/.
Is there a way to have your app at one location and everything else
Ideally I would like my site to simply have urls such as:
I know this was long and I probably didn’t explain myself very well. If
further clarification is needed please let me know.