github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

benschwarz / passenger-stack

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 298
    • 50
  • Source
  • Commits
  • Network (50)
  • Issues (1)
  • Downloads (7)
  • Wiki (2)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (5)
    • gh-pages
    • master ✓
    • nginx
    • nginx-module
    • passenger-2.0.6
  • Tags (7)
    • rel-0.7
    • rel-0.6
    • rel-0.5
    • rel-0.4
    • rel-0.3
    • rel-0.2
    • rel-0.1
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

Sprinkles for Apache, Passenger, Memcached, Git, Mysql or Postgres — Read more

  cancel

http://benschwarz.github.com/passenger-stack/

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

Merge branch 'master' of github.com:benschwarz/passenger-stack 
benschwarz (author)
Fri Oct 23 00:44:47 -0700 2009
commit  de3c4bc71abc12b871494f621414ed93ebf1a1ac
tree    82ac3c08c90e8583292f4ac8b9eee0c33bc4a962
parent  ca950caf14418283650156512bcaae215c3644cc parent  e5934e12b08f38732cbbb1ba320802b72c668990
passenger-stack /
name age
history
message
file .gitignore Fri Mar 13 05:18:41 -0700 2009 ignore config/deploy.rb Signed-off-by: Ben Sch... [markmansour]
file Capfile Mon Dec 22 22:23:25 -0800 2008 Added first cut of scripts to the repository A... [benschwarz]
file README.markdown Fri Oct 23 00:43:50 -0700 2009 Added notes for yum based distros [benschwarz]
directory config/ Wed Aug 19 14:24:53 -0700 2009 Fixed an incorrect url that broke the latest ve... [mokisystems]
README.markdown

Passenger stack, zero to hero in under five minutes

Scripts for Sprinkle, the provisioning tool

Watch the demo screen cast of passenger-stack.

How to get your sprinkle on:

  • Get a brand spanking new slice / host (Ubuntu please)
  • Create yourself a user, add yourself to the /etc/sudoers file
  • Set your slices url / ip address in deploy.rb (config/deploy.rb.example provided)
  • Set username in config/deploy.rb if it isn't the same as your local machine (config/deploy.rb.example provided)

From your local system (from the passenger-stack directory), run:

sprinkle -c -s config/install.rb

After you've waited for everything to run, you should have a provisioned slice. Go forth and install your custom configurations, add vhosts and other VPS paraphernalia.

My app isn't running!?

No superfluous configuation is included, these scripts focus purely on slice installation. Having said that passenger is configured to work with apache, your application should pretty much be a 'drop in' install.

Read these tips to get you humming

Other things you should probably consider:

  • Close everything except for port 80 and 22
  • Disallow password logins and use a passphrased RSA key

Wait, what does all this install?

  • Apache (Apt)
    • Scripts and stylesheets are compressed using mod_deflate
    • ETags are applied to static assets
    • Expires headers are applied to static assets
  • Ruby Enterprise (Source) [includes rubygems]
  • Passenger (Rubygem)
  • Memcached (Apt)
  • Libmemcached (Source)
  • MySQL (Apt) or PostgreSQL (Apt)
  • MySQL or PostgreSQL ruby database drivers (Rubygem)
  • Git (Apt)

Requirements

  • Ruby
  • Capistrano
  • Sprinkle (github.com/crafterm/sprinkle)
  • An Ubuntu or Debian based VPS

If you're interested in using Fedora or RedHat then maybe you should checkout one of these:

  • http://github.com/nwp/passenger-stack
  • http://github.com/l15n/yummy-sprinkles
  • http://github.com/kjwierenga/passenger-stack

Thanks

  • Marcus Crafter and other Sprinkle contributors
  • Slicehost, for giving a free slice for testing passenger stack
  • Nathan de Vries for Postgres support
  • Anthony Kolber for the github pages design
  • Stephen Eley for some sanity checks on git dependencies

Disclaimer

Don't run this on a system that has already been deemed "in production", its not malicious, but there is a fair chance that you'll ass something up monumentally. You have been warned.

Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server