<commit_before>h1. Setup Tutorial for a Rails application with Git / Github / Capistrano / Ruby Enterprise / Passenger

This tutorial will show you how to rollout a basic Rails application using Git and Capistrano.  We will do this while leveraging Github, and - on the production server - Ruby Enterprise Edition and Passenger.  The database will be MySQL.  We will be using Ubuntu as the OS.

I will walk you through from scratch.  I recommend you follow from scratch as well, unless you know what you're doing (in which case, jump in whereever you like but be prepare for potentially unexpected behavior).

This tutorial will NOT teach you Rails, Git, Capistrano, etc.  While it will cover the basics, it will be just enough information to get you up and running.  However, you will benefit greatly by looking at each one of these things in more detail.  Links at the bottom will help you get started on learning the details.


h2. Prerequisites

* Ruby installation on your local machine
* Rails installation on your local machine
* MySQL installation on your local machine
* Clean server for production (with nothing but the initial OS setup)

It will be nice if you are already comfortable with basic Rails programming.  If not, then some of this may not make sense (but it should still work).


h3. My set up

NOTE: If you use a different setup, you may have slightly different commands / results.  There will not be many (if any) OS-specific commands used on my local machine (development), so it will be more useful to you to match the production machine.  I have not tried this with Ubuntu 8.10 or 9.04 in production, but I imagine the differences will be minor.
<commit_msg>README formatting<commit_after>h1. Setup Tutorial for a Rails application with Git / Github / Capistrano / Ruby Enterprise / Passenger

This tutorial will show you how to rollout a basic Rails application using Git and Capistrano.  We will do this while leveraging Github, and - on the production server - Ruby Enterprise Edition and Passenger.  The database will be MySQL.  We will be using Ubuntu as the OS.

I will walk you through from scratch.  I recommend you follow from scratch as well, unless you know what you're doing (in which case, jump in whereever you like but be prepare for potentially unexpected behavior).

This tutorial will NOT teach you Rails, Git, Capistrano, etc.  While it will cover the basics, it will be just enough information to get you up and running.  However, you will benefit greatly by looking at each one of these things in more detail.  Links at the bottom will help you get started on learning the details.


h2. Prerequisites


* Ruby installation on your local machine
* Rails installation on your local machine
* MySQL installation on your local machine
* Clean server for production (with nothing but the initial OS setup)

It will be nice if you are already comfortable with basic Rails programming.  If not, then some of this may not make sense (but it should still work).


h3. My set up

NOTE: If you use a different setup, you may have slightly different commands / results.  There will not be many (if any) OS-specific commands used on my local machine (development), so it will be more useful to you to match the production machine.  I have not tried this with Ubuntu 8.10 or 9.04 in production, but I imagine the differences will be minor.

{'fraction_non_alphanumeric': 0.03496296296296296, 'fraction_numerical': 0.005333333333333333, 'mean_word_length': 3.9867060561299854, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '566352', 'n_tokens_mistral': 837, 'n_tokens_neox': 786, 'n_words': 557}