Hi,
SVN and/or GIT has nothing to do directly with deployment or passenger
but you should study on Source Code Management or Source Code Version
SVN and GIT both are a source code management tools and you can manage
the updates of your source code with them.
SVN though is older yet solid, GIT is relatively newer but more
popular in Rails community. So if need to start with something, I
would say to pick up GIT directly.
Get some proficiency in GIT and so if you just wanna test out things,
you can get yourself a free account on http://github.com to host
public repositories and if you need to keep your code private you
might like to go for a paid account. Though GitHub is the most
respected provider for hosting Git repos, there are some other good
providers for hosting private Git repositories which comes with more
economical plans, viz. repositoryhosting.com
Once you are good with Git... time to deploy on a server.
In Rails, just forget the old school FTP deployments... it's much more
interesting and awesome here once you are familiar with.
> Also, another question is where can I find a very cheap host to upload
> my RoR app/site? Or what host would you recommend that wouldn't cost
> an arm and a leg? I see to use Joyent.com it cost ALOT to host with
> them (http://www.joyent.com/services/cloudhosting/) like around $500+/
> mo for 4GB Ram... That's crazy if you ask me... Especially, if you're
> just starting out and want to play around before you get into paying
> more money for a host.
Why would you need 4GB RAM just to jump start your first rails site
(with no live users I suppose). 4GB anyhow is going to cost you a bit
more.
Go for some economical hosting providers, Linode or SpeedyRails etc.
I don't have personal experience with Linode, but SR guys will setup
everything for you ... including.. MySql, Phusion Passenger and
automated deployment with Capistrano.... you will just need to give
them your repository information (and money :).
Capistrano is a tool for automating your deployment process,
especially for Rails apps.. you can read more about it here http://www.capify.org
So, there after, any change you'll make in your code, you just need to
push the changes to the repository and fire just one command from your
application root... most likely this "cap deploy" to redeploy with
the latest changes.
I hope this would help you somehow.
regards,
Sur
On Jun 27, 11:42 pm, Jeremy <bathrobewarr...@gmail.com> wrote:
> Hi there,
> I'm a newb when it comes to RoR but I have some questions about
> deployment that has eluded me since I heard about RoR 2+ years ago. I
> was hoping someone could shed some light for me on this subject.
>
> I've read many books on Ruby and Rails, and I've watched many video
> tutorials but after hours of reading up on Ruby and Rails, I am still
> confused about how deployment is done. Mind you, I'm learning this
> stuff on my own without help from a real person, so I'm a little
> frustrated about how difficult it is to deploy a site/app.
>
> Also, another question is where can I find a very cheap host to upload
> my RoR app/site? Or what host would you recommend that wouldn't cost
> an arm and a leg? I see to use Joyent.com it cost ALOT to host with
> them (http://www.joyent.com/services/cloudhosting/) like around $500+/
> mo for 4GB Ram... That's crazy if you ask me... Especially, if you're
> just starting out and want to play around before you get into paying
> more money for a host.
>
> Anyway, here's what I understand thus far about deployment...
> I can use either "SVN" or "Git" to upload my RoR project to a server,
> is that correct? Why can't I just use FTP? (newb question I know...)
>
> I've been hearing a lot about Phusion Passenger, but it's a little
> overwhelming. So just wondering if this is all I need to deploy an
> app? Would I need git or svn if I used passenger?
>
> What books would you recommend for learning to upload a Ruby on Rails
> site/app to a server?
>
> I did a few searches here to find out if i could get an answer for my
> questions but it's a little overwhelming.. I know it's a lot of
> questions so my apologies in advance. Any guidance I can get about
> these topics would be very appreciated and helpful. Even if it's just
> listing a couple books that specifically target these subjects would
> be great.
>
> Thanks again,
> Jeremy
>
> P.S. I work on Mac OSX - Snow Leopard 10.6.4, 3.06 GHz Intel Core2 Duo
> and 4GB memory... Also, I'm working with the current stable versions
> of Ruby, Rails and gems as of June 27 2010.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment