Get Up and Running on Warehouse Post to delicious

Install Warehouse on Dreamhost.

Installing Warehouse on Dreamhost

  1. Setup a fully hosted site in the DreamHost Control Panel

    NOTE: You may want to set this up to run as a different user. Dreamhost monitors memory usage per user, and starts killing processes if a user exceeds a certain threshold.

    Make sure you check the FastCGI button, and make sure you add /public/ to the web directory field. In my case I setup wh.mydomain.com, so in the "Specify your web directory" field I had wh.mydomain.com/public.

    After that, you need to setup a wildcard DNS entry for your subdomains. I manually added *.wh.mydomain.com as a CNAME to wh.mydomain.com

  2. Unpack and edit the appropriate files

    Unzip Warehouse in the appropriate directory and edit the dispatch.rb and dispatch.fcgi to set the correct Ruby path. It should be /usr/bin/ruby.

    Open .htaccess and find the following line

    RewriteRule ^(.*)$ dispatch.cgi [QSA,L]
    Change it to the line below
    RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]

    Now edit your config/environment.rb file and uncomment the following line.

    ENV['RAILS_ENV'] ||= 'production'
  3. Complete the

    You should now be able to fire up irb and run the following command and have it print true

    require 'svn/core'
    => true

Having trouble?

Life reserve

No need to worry! We can help. Come talk to our friendly community of folks and we'll see if we can't get you up and running together.

Talk To Me Now!

Talk Bubble

If you've got an IRC client, you can join us in #activereload on irc.freenode.net. We'll talk about ninjas, code, gaming and more ninjas.

Copyright © 2007 Active Reload, LLC.