This repository has been archived by the owner on Jan 10, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
/
index.html
43 lines (43 loc) · 3.19 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
layout: default
title: "Ruby on Rails: Deploy"
---
<div id="article" class="deploy"><article>
<h1>
<img src="/images/headers/deploy.gif" width="603" height="112" alt="Deploying Ruby on Rails is easy">
</h1>
<div class="section">
<h2>Passenger<br>aka mod_rails</h2>
<p>
<img src="/images/pages/deploy/passenger.png" width="197" height="68" class="align-right">
The preferred deployment setup for Rails is <a href="http://www.modrails.com/">Phusion Passenger</a> aka mod_rails. It's a module for <a href="http://httpd.apache.org/">Apache</a> that automatically manages the back end. Just setup, launch, and enjoy.
</p>
</div>
<div class="section">
<h2>Proxy setups</h2>
<p>
<img src="/images/pages/deploy/mongrel.jpg" width="182" height="82" class="align-right">
Prior to Passenger, Rails was mostly deployed using Apache or <a href="http://nginx.net/">nginx</a> with either a built-in or standalone proxy (like <a href="http://haproxy.1wt.eu/">HAProxy</a>) against a cluster of <a href="http://mongrel.rubyforge.org/">Mongrels</a> or <a href="http://unicorn.bogomips.org/">Unicorns</a>. This setup still works great, but it's more complicated to setup and administrate than using Passenger.
</p>
</div>
<div class="section">
<h2>JRuby on Rails</h2>
<p>
<img src="/images/pages/deploy/duke.jpg" width="100" height="80" class="align-right">
<a href="http://jruby.codehaus.org/">JRuby</a> brings Rails to the Java Virtual Machine. This means that you can deploy Rails applications on app servers like <a href="https://glassfish.dev.java.net/">Glassfish</a> or <a href="http://jetty-rails.rubyforge.org/">Jetty</a>. You can use <a href="http://caldersphere.rubyforge.org/warbler/">Warbler</a> to package your Rails application as a standard WAR. Great for slipping into the enterprise.
</p>
</div>
<div class="section">
<h2>Automate with<br>Capistrano</h2>
<p>
<img src="/images/pages/deploy/capistrano.jpg" width="190" height="72" class="align-right">
<a href="http://www.capify.org/">Capistrano</a> brings deployment automation to Rails whether you're working with a single server or on a cluster of dozens. It was extracted from the 37signals tool chain (like Rails) by <a href="/core/alumni/">core alumni</a> Jamis Buck.
</p>
</div>
<div class="section">
<h2 class="small">Hosting</h2>
<p class="small">
While Rails hosting is now common place, there's a handful of dedicated Rails hosting companies that have been around for a long time and supporting the community: <a href="http://railsmachine.com/">Rails Machine</a>, <a href="http://www.joyent.com/Rails">Joyent</a>, <a href="http://www.brightbox.co.uk/">Brightbox</a>, <a href="http://www.planetargon.com/hosting.html">Planet Argon</a>, <a href="http://www.engineyard.com/">Engine Yard</a>, and <a href="http://www.heroku.com/">Heroku</a>. If you're just looking for a VPS, we recommend <a href="http://www.slicehost.com">Slicehost</a> or <a href="http://www.linode.com/">Linode</a>.
</p>
</div>
</article></div>