I haven''t had a chance to upload my app and configure dreamhost, but I did log in and create the folder using the "rails app_name" command. Now, my question is, I read online to do this:> cd domain.com > rails my_app_nameSo, I did just that. Rails will know what to do even though my application is in a sub-directory under "domain.com"? Essentially, /domain.com/my_app_name/app/ is where all of my folders are (i.e., models-views-controllers). This seems ok to everyone? Thanks. -- Posted via http://www.ruby-forum.com/.
yeah, now you just need to configure web root for your domain to be /domain.com/my_app_name/public On 3/13/06, ryan <rheath@ircwv.com> wrote:> > I haven''t had a chance to upload my app and configure dreamhost, but I > did log in and create the folder using the "rails app_name" command. > > Now, my question is, I read online to do this: > > > cd domain.com > > rails my_app_name > > So, I did just that. Rails will know what to do even though my > application is in a sub-directory under "domain.com"? > > Essentially, > > /domain.com/my_app_name/app/ > > is where all of my folders are (i.e., models-views-controllers). > > This seems ok to everyone? > > Thanks. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060313/bdd25ab3/attachment.html
On Monday 13 Mar 2006 13:34, ryan wrote:> I haven''t had a chance to upload my app and configure dreamhost, but I > did log in and create the folder using the "rails app_name" command.There''s really no need to do that - you can just upload it once you''ve finished building it on your local machine. You don''t need to create a new app on the Dreamhost server, since you''re only going to overwrite it when you upload your app anyway. (I''m assuming you have a working, locally-developed Rails app, and you literally just want to put it live?) When it comes to getting Rails sites working on Dreamhost, this Wiki entry has worked well for me: http://wiki.dreamhost.com/index.php/Ruby_on_Rails If you need a bit more help, drop me an email and I''ll see what I can do. Cheers, ~Dave -- Dave Silvester Rent-A-Monkey Website Development http://www.rentamonkey.com/ PGP Key: http://www.rentamonkey.com/pgpkey.asc