I don''t know if this has been documented anywhere, but last night I had a surprisingly easy time deploying a Camping 2.0 app to my basic DreamHost shared hosting account. After fighting with FastCGI for a while, I noticed that there''s an option to point the root of a domain or subdomain at a "Rails" app''s public/ directory and use Phusion Passenger. Once I made such a directory, and a basic config.ru file to set the gem paths correctly and run the app, it seemed to work just fine. Granted, the app is dead simple (one file, no database), so I don''t know if this configuration would break if I changed anything, but I thought it was worth mentioning. I can add this to the Camping on Shared Hosting wiki page, if nobody knows of any huge caveats to deploying this way. Roland -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20090720/b0c98b02/attachment.html>
Please add it to the Camping on Shared Hosting wiki page - on both the Camping Github wiki, and the Dreamhost wiki. I wrote the Dreamhost section of the former, and the entirety of the latter, after much agony making FastCGI work, and I''d love to see a simpler way documented. -- Eric On Mon, Jul 20, 2009 at 2:21 PM, Roland Crosby<roland at rolandcrosby.com> wrote:> I don''t know if this has been documented anywhere, but last night I had a > surprisingly easy time deploying a Camping 2.0 app to my basic DreamHost > shared hosting account. After fighting with FastCGI for a while, I noticed > that there''s an option to point the root of a domain or subdomain at a > "Rails" app''s public/ directory and use Phusion Passenger. Once I made such > a directory, and a basic config.ru file to set the gem paths correctly and > run the app, it seemed to work just fine. Granted, the app is dead simple > (one file, no database), so I don''t know if this configuration would break > if I changed anything, but I thought it was worth mentioning. > > I can add this to the Camping on Shared Hosting wiki page, if nobody knows > of any huge caveats to deploying this way. > > Roland > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >
Here''s the link to the page on the Dreamhost wiki: http://wiki.dreamhost.com/Camping -- Eric On Mon, Jul 20, 2009 at 2:55 PM, Eric Mill<kprojection at gmail.com> wrote:> Please add it to the Camping on Shared Hosting wiki page - on both the > Camping Github wiki, and the Dreamhost wiki. ?I wrote the Dreamhost > section of the former, and the entirety of the latter, after much > agony making FastCGI work, and I''d love to see a simpler way > documented. > > -- Eric > > On Mon, Jul 20, 2009 at 2:21 PM, Roland Crosby<roland at rolandcrosby.com> wrote: >> I don''t know if this has been documented anywhere, but last night I had a >> surprisingly easy time deploying a Camping 2.0 app to my basic DreamHost >> shared hosting account. After fighting with FastCGI for a while, I noticed >> that there''s an option to point the root of a domain or subdomain at a >> "Rails" app''s public/ directory and use Phusion Passenger. Once I made such >> a directory, and a basic config.ru file to set the gem paths correctly and >> run the app, it seemed to work just fine. Granted, the app is dead simple >> (one file, no database), so I don''t know if this configuration would break >> if I changed anything, but I thought it was worth mentioning. >> >> I can add this to the Camping on Shared Hosting wiki page, if nobody knows >> of any huge caveats to deploying this way. >> >> Roland >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> >
OK, I updated the Dreamhost wiki and http://wiki.github.com/why/camping/camping-on-shared-hosting with a configuration that worked for me - other people using Dreamhost and/or Passenger, let me know if this works for you, or if there are other tips and tricks that you suggest. Roland On Mon, Jul 20, 2009 at 2:57 PM, Eric Mill <kprojection at gmail.com> wrote:> Here''s the link to the page on the Dreamhost wiki: > > http://wiki.dreamhost.com/Camping > > -- Eric > > On Mon, Jul 20, 2009 at 2:55 PM, Eric Mill<kprojection at gmail.com> wrote: > > Please add it to the Camping on Shared Hosting wiki page - on both the > > Camping Github wiki, and the Dreamhost wiki. I wrote the Dreamhost > > section of the former, and the entirety of the latter, after much > > agony making FastCGI work, and I''d love to see a simpler way > > documented. > > > > -- Eric > > > > On Mon, Jul 20, 2009 at 2:21 PM, Roland Crosby<roland at rolandcrosby.com> > wrote: > >> I don''t know if this has been documented anywhere, but last night I had > a > >> surprisingly easy time deploying a Camping 2.0 app to my basic DreamHost > >> shared hosting account. After fighting with FastCGI for a while, I > noticed > >> that there''s an option to point the root of a domain or subdomain at a > >> "Rails" app''s public/ directory and use Phusion Passenger. Once I made > such > >> a directory, and a basic config.ru file to set the gem paths correctly > and > >> run the app, it seemed to work just fine. Granted, the app is dead > simple > >> (one file, no database), so I don''t know if this configuration would > break > >> if I changed anything, but I thought it was worth mentioning. > >> > >> I can add this to the Camping on Shared Hosting wiki page, if nobody > knows > >> of any huge caveats to deploying this way. > >> > >> Roland > >> > >> _______________________________________________ > >> Camping-list mailing list > >> Camping-list at rubyforge.org > >> http://rubyforge.org/mailman/listinfo/camping-list > >> > > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/camping-list/attachments/20090720/9229b087/attachment.html>
the problem with dreamhost is when your app becomes popular. not enough to afford a VPS but too popular to fit in dreamhost shared hosting allowed RAM. your process will get killed and your users will see error 500. thanks for the howto anyway. On Tue, Jul 21, 2009 at 3:38 AM, Jenna Fox<blueberry at creativepony.com> wrote:> MMm yeah I''ve been using passenger to run talkie.me on DreamHost for a while > now without issue. I found that without those lines setting the gem paths > the app would work intermittently,?rather?frustratingly. So don''t forget > those! :) > ? > Jenna > > On 21/07/2009, at 12:56 PM, Eric Mill wrote: > > You are awesome! I''m gonna switch my Camping app to passenger and test it > out at the next opportunity. > > -- Eric > > On Jul 20, 2009 8:12 PM, "Roland Crosby" <roland at rolandcrosby.com> wrote: > > OK, I updated the Dreamhost wiki > and?http://wiki.github.com/why/camping/camping-on-shared-hosting with a > configuration that worked for me - other people using Dreamhost and/or > Passenger, let me know if > this?works?for?you,?or?if?there?are?other?tips?and?tricks?that?you?suggest. > Roland > > On Mon, Jul 20, 2009 at 2:57 PM, Eric Mill <kprojection at gmail.com> wrote: > >> Here''s the link to t... > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >-- "While the Baroque rules of chess could only have been created by humans, the rules of go are so elegant, organic, and rigorously logical that if intelligent life forms exist elsewhere in the universe, they almost certainly play go." -- Edward Lasker
So, I switched my Camping app from Camping 1.5 to Camping 2.0 and deployed it using these Passenger instructions... ...worked the first time! Amazing! I spent several hours figuring out the FastCGI shared hosting instructions for Dreamhost for Camping 1.5, and for Camping 2.0. This is hideously easier and faster. Thanks again, sir! -- Eric On Mon, Jul 20, 2009 at 10:56 PM, Eric Mill<kprojection at gmail.com> wrote:> You are awesome! I''m gonna switch my Camping app to passenger and test it > out at the next opportunity. > > -- Eric > > On Jul 20, 2009 8:12 PM, "Roland Crosby" <roland at rolandcrosby.com> wrote: > > OK, I updated the Dreamhost wiki > and?http://wiki.github.com/why/camping/camping-on-shared-hosting with a > configuration that worked for me - other people using Dreamhost and/or > Passenger, let me know if > this?works?for?you,?or?if?there?are?other?tips?and?tricks?that?you?suggest. > Roland > > On Mon, Jul 20, 2009 at 2:57 PM, Eric Mill <kprojection at gmail.com> wrote: > >> Here''s the link to t... > > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >
Did you have any problems upgrading from 1.5? We''ll have to write down a little guide :-) //Magnus Holm On Fri, Aug 7, 2009 at 21:56, Eric Mill<kprojection at gmail.com> wrote:> So, I switched my Camping app from Camping 1.5 to Camping 2.0 and > deployed it using these Passenger instructions... > > ...worked the first time! Amazing! ?I spent several hours figuring out > the FastCGI shared hosting instructions for Dreamhost for Camping 1.5, > and for Camping 2.0. ?This is hideously easier and faster. > > Thanks again, sir! > > -- Eric > > On Mon, Jul 20, 2009 at 10:56 PM, Eric Mill<kprojection at gmail.com> wrote: >> You are awesome! I''m gonna switch my Camping app to passenger and test it >> out at the next opportunity. >> >> -- Eric >> >> On Jul 20, 2009 8:12 PM, "Roland Crosby" <roland at rolandcrosby.com> wrote: >> >> OK, I updated the Dreamhost wiki >> and?http://wiki.github.com/why/camping/camping-on-shared-hosting with a >> configuration that worked for me - other people using Dreamhost and/or >> Passenger, let me know if >> this?works?for?you,?or?if?there?are?other?tips?and?tricks?that?you?suggest. >> Roland >> >> On Mon, Jul 20, 2009 at 2:57 PM, Eric Mill <kprojection at gmail.com> wrote: > >>> Here''s the link to t... >> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list >
Nope, I didn''t have to change anything. And for getting it working in development, it was made easier by me copying the preamble that you had helped me concoct so long ago for another app that I did in Camping 2.0 from the get go, so that helped. For reference, the site I''m talking about is ohnomymoney.com, and the code for it that I''m talking about is here: http://github.com/klondike/money/blob/b0d7c8c9bcaae9ccd6aa90a2a819168f8b5c28a9/money.rb -- Eric On Fri, Aug 7, 2009 at 4:12 PM, Magnus Holm<judofyr at gmail.com> wrote:> Did you have any problems upgrading from 1.5? We''ll have to write down > a little guide :-) > > //Magnus Holm > > > > On Fri, Aug 7, 2009 at 21:56, Eric Mill<kprojection at gmail.com> wrote: >> So, I switched my Camping app from Camping 1.5 to Camping 2.0 and >> deployed it using these Passenger instructions... >> >> ...worked the first time! Amazing! ?I spent several hours figuring out >> the FastCGI shared hosting instructions for Dreamhost for Camping 1.5, >> and for Camping 2.0. ?This is hideously easier and faster. >> >> Thanks again, sir! >> >> -- Eric >> >> On Mon, Jul 20, 2009 at 10:56 PM, Eric Mill<kprojection at gmail.com> wrote: >>> You are awesome! I''m gonna switch my Camping app to passenger and test it >>> out at the next opportunity. >>> >>> -- Eric >>> >>> On Jul 20, 2009 8:12 PM, "Roland Crosby" <roland at rolandcrosby.com> wrote: >>> >>> OK, I updated the Dreamhost wiki >>> and?http://wiki.github.com/why/camping/camping-on-shared-hosting with a >>> configuration that worked for me - other people using Dreamhost and/or >>> Passenger, let me know if >>> this?works?for?you,?or?if?there?are?other?tips?and?tricks?that?you?suggest. >>> Roland >>> >>> On Mon, Jul 20, 2009 at 2:57 PM, Eric Mill <kprojection at gmail.com> wrote: > >>>> Here''s the link to t... >>> >>> _______________________________________________ >>> Camping-list mailing list >>> Camping-list at rubyforge.org >>> http://rubyforge.org/mailman/listinfo/camping-list >>> >> _______________________________________________ >> Camping-list mailing list >> Camping-list at rubyforge.org >> http://rubyforge.org/mailman/listinfo/camping-list >> > _______________________________________________ > Camping-list mailing list > Camping-list at rubyforge.org > http://rubyforge.org/mailman/listinfo/camping-list