开发者

Preparing for Rails deployment

Getting ready to deploy a rails project on Mac OS X Leopard Server (such that it matters).

Got a few questions for someone with Rails experience:

  • where should directory containing the project go? inside the website's root folder or out?
  • who should "own" that directory? www? root? something/someone else?
  • hope to continue serving static pages via Apache... would like rails app to be served by mydomain/xxx/railsapp. is there a standard naming convention for 'xxx'?

no开发者_运维技巧t expecting too much traffic to begin with...just like to keep things as simple as possible.


Use Capistrano for deployment. FAQs and tutorials on the website will make most of your questions fall away.

For running the site, I recommend Phusion Passenger. There's a Capistrano recipe for Passenger here.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜