I''ve got the same basic app that I''d like to run on a couple domains. It''s very simple and the functionality would stay the same, but templates would be different. I was wondering if there''s a way I can just run one instance of the app so that I don''t have to have multiple fcgi processes for each site. Is that a good approach for something like a simple blog? This way it wouldn''t take much memory at all. How would I go about ensuring that requests use the correct database, and how about handling different templates? Pat
Pat Maddox <pergesu@...> writes:> > I''ve got the same basic app that I''d like to run on a couple domains. > It''s very simple and the functionality would stay the same, but > templates would be different. I was wondering if there''s a way I can > just run one instance of the app so that I don''t have to have multiple > fcgi processes for each site. Is that a good approach for something > like a simple blog? This way it wouldn''t take much memory at all. > How would I go about ensuring that requests use the correct database, > and how about handling different templates? > > Pat >Check out the following page for "Productizing Your Rails App"... http://wiki.rubyonrails.com/rails/pages/RailsProductGenerator
Possibly Parallel Threads
- App running fine on Webrick, ActiveRecord::ConnectionNotEstablished in lighttpd
- lighttpd config on os x
- What is supposed to happen when you run dispatch.fcgi?
- Updated lighttpd to 1.4.9 - error running dispatch.fcgi
- I need to send an email when something happens in my model...