Hello! I moved my rails application from win to deb-server (in order to get more performance) but i don''t know where to place it... What path/to/folder is accepted? /opt/rails/myapp or /usr/src/myapp or some other? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Vitaly Kosenko wrote in post #969246:> Hello! I moved my rails application from win to deb-server (in order > to get more performance) but i don''t know where to place it... What > path/to/folder is accepted? /opt/rails/myapp or /usr/src/myapp or some > other?Wherever you like. What are you using as a server? Passenger? And is this for production or development? Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Yes, passenger. I used it for production purposes On 18 дек, 19:58, Marnen Laibow-Koser <li...-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Vitaly Kosenko wrote in post #969246: > > > Hello! I moved my rails application from win to deb-server (in order > > to get more performance) but i don''t know where to place it... What > > path/to/folder is accepted? /opt/rails/myapp or /usr/src/myapp or some > > other? > > Wherever you like. What are you using as a server? Passenger? And is > this for production or development? > > Best, > -- > Marnen Laibow-Koserhttp://www.marnen.org > mar...-sbuyVjPbboAdnm+yROfE0A@public.gmane.org > > Sent from my iPhone > > -- > Posted viahttp://www.ruby-forum.com/.-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Please quote when replying. Vitaly Kosenko wrote in post #969283:> Yes, passenger. I used it for production purposesRight. I usually put mine somewhere in /var/www along with the rest of the Apache or Nginx stuff, but it really doesn''t matter much. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
> Please quote when replying. > > Vitaly Kosenko wrote in post #969283: > > > Yes, passenger. I used it for production purposes > > Right. I usually put mine somewhere in /var/www along with the rest of > the Apache or Nginx stuff, but it really doesn''t matter much.Okey, thnx! I undestand that it doen''t matter. I only want to bring "some order" to server:) -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Vitaly Kosenko wrote:> Hello! I moved my rails application from win to deb-server (in order > to get more performance) but i don''t know where to place it... What > path/to/folder is accepted? /opt/rails/myapp or /usr/src/myapp or some > other? > >I create a user specifically for hosting the application and put the app in the users home directory. I do not use that user for any other purpose. YMMV -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Norm Scherer wrote in post #969441:> Vitaly Kosenko wrote: >> Hello! I moved my rails application from win to deb-server (in order >> to get more performance) but i don''t know where to place it... What >> path/to/folder is accepted? /opt/rails/myapp or /usr/src/myapp or some >> other? >> >> > I create a user specifically for hosting the application and put the app > in the users home directory. I do not use that user for any other > purpose. YMMVYeah, I like running each app as a separate user, but I prefer to have all the code in one directory. Of course, you could set up each Rails user account to have /var/www/whatever as its home directory. Best, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org Sent from my iPhone -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.