# How to deploy a rails project in to server

**URL:** <https://www.ruby-forum.com/t/how-to-deploy-a-rails-project-in-to-server/113639>\
**Category:** Rails\
**Created:** [September 3, 2007, 9:20am UTC](https://www.ruby-forum.com/t/how-to-deploy-a-rails-project-in-to-server/113639 "2007-09-03T09:20:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 3, 2007, 9:20am UTC](https://www.ruby-forum.com/t/how-to-deploy-a-rails-project-in-to-server/113639/1 "2007-09-03T09:20:44Z")

</div>

hi to every one  
am new to ror

recently we develop a project called [templatesbasket.com](http://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:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 3, 2007, 9:25am UTC](https://www.ruby-forum.com/t/how-to-deploy-a-rails-project-in-to-server/113639/2 "2007-09-03T09:25:44Z")

</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.

On Sep 3, 2:18 am, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 3, 2007, 9:29am UTC](https://www.ruby-forum.com/t/how-to-deploy-a-rails-project-in-to-server/113639/3 "2007-09-03T09:29:45Z")

</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:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 3, 2007, 9:37am UTC](https://www.ruby-forum.com/t/how-to-deploy-a-rails-project-in-to-server/113639/4 "2007-09-03T09:37:46Z")

</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

On 3 Sep., 09:18, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![casper\_the\_ghost](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/58956e/32.png) [@casper\_the\_ghost](https://www.ruby-forum.com/u/casper_the_ghost)\
**Post date:** [September 3, 2007, 9:38am UTC](https://www.ruby-forum.com/t/how-to-deploy-a-rails-project-in-to-server/113639/5 "2007-09-03T09:38:46Z")

</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.

On Sep 3, 2:29 am, “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
