Fecha: 2026-05-21 - San Eugenio   Calendario 2026  | Info

Manual:
Deploying Rails Applications A Step-by-Step Guide

https://evainformatica.es/biblioteca_virtual/manuales/img/deploying_rails_applications.webp

Formato: pdf

Tamaño: 4.3 MB

idioma: en

Descargar  

Visto: 2 veces

Deploying Rails Applications A Step-by-Step Guide

Deploying Rails Applications
A Step-by-Step Guide

Chapter 1 Introduction
 Section 1.1 The Lay of the Land
 Section 1.2 Finding a Home
 Section 1.3 Conventions
 Section 1.4 Acknowledgments

Chapter 2 Refining Applications for Production
 Section 2.1 The Lay of the Land
 Section 2.2 Source Code Management
 Section 2.3 Subversion Tips
 Section 2.4 Stabilizing Your Applications
 Section 2.5 Active Record Migrations
 Section 2.6 Application Issues for Deployment

Chapter 3 Shared Hosts
 Section 3.1 The Lay of the Land
 Section 3.2 Choosing a Shared Host
 Section 3.3 Setting Up Your Domain and DNS
 Section 3.4 Configuring Your Server
 Section 3.5 Server Setup: Create a Database
 Section 3.6 Installing Your Application
 Section 3.7 Configuring Your Web Server
 Section 3.8 Application Setup: Rails Config Files
 Section 3.9 The Well-Behaved Application
 Section 3.10 Troubleshooting Checklist
 Section 3.11 Conclusion

Chapter 4 Virtual and Dedicated Hosts
 Section 4.1 The Lay of the Land
 Section 4.2 Virtual Private Servers
 Section 4.3 Dedicated Servers
 Section 4.4 Setting Up Shop
 Section 4.5 Conclusion

Chapter 5 Capistrano
 Section 5.1 The Lay of the Land
 Section 5.2 How It Works
 Section 5.3 Local and Remote Setup for Rails
 Section 5.4 Standard Recipes
 Section 5.5 Writing Tasks
 Section 5.6 A Little Extra Flavor
 Section 5.7 Troubleshooting
 Section 5.8 Conclusion

Chapter 6 Managing Your Mongrels
 Section 6.1 The Lay of the Land
 Section 6.2 Training Your Mongrels
 Section 6.3 Configuring the Watchdog
 Section 6.4 Keeping FastCGI Under Control
 Section 6.5 Building in Error Notification
 Section 6.6 Heartbeat
 Section 6.7 Conclusion

Chapter 7 Scaling Out
 Section 7.1 The Lay of the Land
 Section 7.2 Scaling Out with Clustering
 Section 7.3 Mirror Images
 Section 7.4 Domain Names and Hosts
 Section 7.5 Deploying to Multiple Hosts
 Section 7.6 Apache
 Section 7.7 nginx, from Russia with Love
 Section 7.8 Clustering MySQL
 Section 7.9 Summary

Chapter 8 Deploying on Windows
 Section 8.1 Setting Up the Server
 Section 8.2 Mongrel
 Section 8.3 Mongrel and Pen
 Section 8.4 Using Apache 2.2 and Mongrel
 Section 8.5 IIS Integration
 Section 8.6 Reverse Proxy and URLs
 Section 8.7 Strategies for Hosting Multiple Applications
 Section 8.8 Load-Testing Your Applications
 Section 8.9 Final Thoughts
 Section 8.10 Developing on Windows and Deploying Somewhere Else 2
 Section 8.11 Wrapping Up

Chapter 9 Performance
 Section 9.1 The Lay of the Land
 Section 9.2 Initial Benchmarks: How Many Mongrels?
 Section 9.3 Profiling and Bottlenecks
 Section 9.4 Common Bottlenecks
 Section 9.5 Caching
 Section 9.6 Conclusion

Chapter 10 Frontiers
 Section 10.1 Yarv
 Section 10.2 Rubinius
 Section 10.3 JRuby
 Section 10.4 IronRuby
 Section 10.5 Wrapping Up

Appendix
  - A An Example nginx Configuration
  - B Bibliography


Over the course of this book, I’d like to take you into that hidden universe. You will learn how to:

  • develop Rails applications with painless deployment in mind;
  • choose between shared hosts, virtual private servers, or dedicated servers;
  • understand the software stack that the pros use to deploy Rails for high performance;
  • build and configure your web servers and other services;
  • stress your application before your users do; and
  • streamline your application in production using advanced strategies such as caching so your site can scale