# how to deploy a rails project in to server

**URL:** <https://discuss.rubyonrails.org/t/how-to-deploy-a-rails-project-in-to-server/17696>\
**Category:** rubyonrails-talk\
**Created:** [September 3, 2007, 7:18am UTC](https://discuss.rubyonrails.org/t/how-to-deploy-a-rails-project-in-to-server/17696 "2007-09-03T07:18:16Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kumar.1524v](https://avatars.discourse-cdn.com/v4/letter/k/bbe5ce/32.png) [@Kumar.1524v](https://discuss.rubyonrails.org/u/Kumar.1524v)\
**Post date:** [September 3, 2007, 7:18am UTC](https://discuss.rubyonrails.org/t/how-to-deploy-a-rails-project-in-to-server/17696/1 "2007-09-03T07:18:16Z")

</div>

hi to every one am new to ror

recently we develop a project called templatesbasket.com

everything work in localhost properly.

can anyone tell me the procedure for deploying rails project from localhost to server .

plz help me. its very urgent

thanks in advance

---

<div class="post-metadata">

**Author:** ![Rein\_Henrichs](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@Rein\_Henrichs](https://discuss.rubyonrails.org/u/Rein_Henrichs)\
**Post date:** [September 3, 2007, 7:23am UTC](https://discuss.rubyonrails.org/t/how-to-deploy-a-rails-project-in-to-server/17696/2 "2007-09-03T07:23:01Z")

</div>

There are dozens of blog posts and even a recently released book on the subject from The Pragmatic Programmer. [http://brainspl.at](http://brainspl.at) would be the first place to look. Google would be the second.

---

<div class="post-metadata">

**Author:** ![Kumar.1524v](https://avatars.discourse-cdn.com/v4/letter/k/bbe5ce/32.png) [@Kumar.1524v](https://discuss.rubyonrails.org/u/Kumar.1524v)\
**Post date:** [September 3, 2007, 7:29am UTC](https://discuss.rubyonrails.org/t/how-to-deploy-a-rails-project-in-to-server/17696/3 "2007-09-03T07:29:18Z")

</div>

hi thanks for ur reply

can u tell me the procedure for deploy a simple "helloworld" application into server using goddady

---

<div class="post-metadata">

**Author:** ![atpunkt](https://avatars.discourse-cdn.com/v4/letter/a/ea5d25/32.png) [@atpunkt](https://discuss.rubyonrails.org/u/atpunkt)\
**Post date:** [September 3, 2007, 7:36am UTC](https://discuss.rubyonrails.org/t/how-to-deploy-a-rails-project-in-to-server/17696/4 "2007-09-03T07:36:47Z")

</div>

Hi everyone & Kumar

Yes I know, someone will come up with capistrano, which is good and fine, but this guy doesn't seem to have the time to learn it. So just a few pointers: - You need to have ruby and rails (and mongrel) running on the new Server ( you are telling us too little about WHAT exactly you may need to deploy apart from your own application) - Usually it's enough to copy the database to the new server, empty it from testdata, rename it to the productionname (you DID configure a production-DB in your database.yml?) - then copy the application-directory to the new server and see if it runs with "script/server -e production" - look into mongrel\_rails - look into apache-proxying - don't run mongrel on port 80 - start by moving the application to another non-production-server, to see if you got the basics working, before going into production

good luck, and try dry-running this kind of move next time, before you have to post another "urgent cry for help" . Best wishes, Phil

---

<div class="post-metadata">

**Author:** ![Rein\_Henrichs](https://avatars.discourse-cdn.com/v4/letter/r/71c47a/32.png) [@Rein\_Henrichs](https://discuss.rubyonrails.org/u/Rein_Henrichs)\
**Post date:** [September 3, 2007, 7:37am UTC](https://discuss.rubyonrails.org/t/how-to-deploy-a-rails-project-in-to-server/17696/5 "2007-09-03T07:37:33Z")

</div>

Sure...

First you read the various articles on deploying a rails app to the server, then you try to follow them.

This is a pretty deep topic that has been covered at length. Time to do a little homework.
