Get Up and Running on Warehouse Post to delicious
Install Warehouse on Dreamhost.
Installing Warehouse on Dreamhost
-
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 setupwh.mydomain.com, so in the "Specify your web directory" field I hadwh.mydomain.com/public.After that, you need to setup a wildcard DNS entry for your subdomains. I manually added
*.wh.mydomain.comas a CNAME to wh.mydomain.com -
Unpack and edit the appropriate files
Unzip Warehouse in the appropriate directory and edit thedispatch.rbanddispatch.fcgito set the correct Ruby path. It should be/usr/bin/ruby.Open .htaccess and find the following line
Change it to the line belowRewriteRule ^(.*)$ dispatch.cgi [QSA,L]RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]Now edit your
config/environment.rbfile and uncomment the following line.ENV['RAILS_ENV'] ||= 'production' -
Complete the
You should now be able to fire up
irband run the following command and have it printtruerequire 'svn/core' => true
Having trouble?
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!
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.

