Sathish Manohar
Sathish Manohar

Reputation: 6119

How to Manually Deploy a Rails App with Git

I'm New to Rails, I want to deploy my first app. I realized there are many steps involved in deployment.

What are all the necessary steps in deploying a rails app, that is using Git as VCS.

If explaining all parts is not possible, list the tasks that need to be done and a summary of it.

I know there is capistrano to help automate those tasks, But, I like to know what is going on, so that I can automate later with capistrano, with more educated judgements.

Upvotes: 1

Views: 618

Answers (2)

Michael Durrant
Michael Durrant

Reputation: 96594

Use Heroku or EngineYard as these are the main cloud hosting solutions today (they both are backed onto Amazon and leverage EC2 and the EBS)

They both have great instructions on how to use git with them:

Heroku: http://devcenter.heroku.com/articles/git

Engine Yard: http://docs.engineyard.com/host-your-code-on-github.html

In choosing, Heroku is more full-service whereas Engine Yard is a more traditional service, giving you access to boxes but needing sysadmin skills.

Upvotes: 3

Nexerus
Nexerus

Reputation: 1088

You could use the Git hooks and use one for a post-push that will execute any thing that needs to be done to update your Rails app after it's been pushed.

Upvotes: 2

Related Questions