# How do i do to make my local project run on the server

**URL:** <https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600>\
**Category:** Deployment\
**Created:** [May 25, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600 "2008-05-25T17:14:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [May 25, 2008, 5:14pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600/1 "2008-05-25T17:14:06Z")

</div>

I have finished my project locally and got a webhost whose domain is:  
[http://omega.phost.ws:2082/.Now](http://omega.phost.ws:2082/.Now) i have to use cpanel to deploy my  
project.But i don’t know how to.  
1.All the files in my project have to be upload to the cpanel?In the  
fileManager on the cpanel,i have some directories,you can see them from  
the attachment.which directory in my project do i have to upload?upload  
to which directory in the fileManager?  
2.do i need to set something for the files in the config directory in  
order to make the project work fine on the server?  
3.After upload,on the cpanel,do i have to rebuild database and tables  
for the project?  
4.do i need to make the ruby interpretor available on the cpanel? if  
so,how to do?  
5.how to set the server like apache?  
Thank you very much.

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [May 25, 2008, 8:11pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600/2 "2008-05-25T20:11:43Z")

</div>

On Sun, May 25, 2008 at 8:14 AM, Guo Y.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have finished my project locally and got a webhost whose domain is:  
> [http://omega.phost.ws:2082/.Now](http://omega.phost.ws:2082/.Now) i have to use cpanel to deploy my  
> project.But i don’t know how to.

Does your web hosting provider have any documentation for deploying a  
Ruby on Rails application? Each host can be quite a bit different.

You asking great questions here, but the answers really depend on your  
hosting providers setup.

Robby

–  
Robby R.  
Founder and Executive Director

PLANET ARGON, LLC  
Design, Development, and Hosting with Ruby on Rails

> **[Planet Argon](https://www.planetargon.com/)**
>
> Planet Argon is a Ruby on Rails development agency specializing in maintenance and support for existing Rails apps. Based in Portland, OR, Planet Argon has been a member of the Rails community since 2004.

[http://www.robbyonrails.com/](http://www.robbyonrails.com/)  
aim: planetargon

+1 503 445 2457  
+1 877 55 ARGON [toll free]  
+1 815 642 4068 [fax]

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [May 26, 2008, 5:40pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600/3 "2008-05-26T17:40:44Z")

</div>

Hi Guo,

I’d recommend checking out litespeed as a webserver and looking  
through some of the articles at [http://www.usefuljaja.com/](http://www.usefuljaja.com/) it is a bit  
tailored towards slicehost VPS servers but it has some great setup  
info for litespeed which is by far the simplest web server from a  
configuration stand point that i’ve used and really nice for people  
just getting started with hosting.

It depends a lot like Robby said on who your host is and what type of  
server you are dealing with, is it shared? VPS? …

I’m not too familiar with cpanel but I ran across this on their site:  
[http://www.cpanel.net/docs/ror/index.html](http://www.cpanel.net/docs/ror/index.html)  
which looks like a basic tutorial on setting up rails via cpanel.

Paul Crawford

On May 25, 8:14 am, Guo Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [May 28, 2008, 4:53pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600/4 "2008-05-28T16:53:29Z")

</div>

Hi Guo,

I’d recommend that you change your username/pass and not post onto  
that info onto this type of forum, that could be a bit risky 🙂

Who is your hosting provider and what type of plan do you have with  
them?

That is the most important question to answer first.

Paul Crawford

On May 27, 7:41 am, Guo Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [May 27, 2008, 4:41pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600/5 "2008-05-27T16:41:18Z")

</div>

Thank you very much!  
Now i have uploaded my project files.But it seems too complex for me to  
make it run properly on the internet.When running the project  
locally,The home url for the project is:[http://localhost:3000/store.The](http://localhost:3000/store.The)  
following url is my host provider admin part:[http://omega.phost.ws:2082](http://omega.phost.ws:2082).  
The username and password is:  
yiyou  
3338179  
can you help me to deploy it?or tell me how to deploy it.I even do not  
know if uploading all the files for my cart1 project in the public\_html  
is right.

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [June 7, 2008, 6:18pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600/6 "2008-06-07T18:18:36Z")

</div>

Hi Guo,

I am wondering if you made any progress on this?  
You may want to take a look at Heroku, they are a very rails specific  
hosting company with some free plans (they are in beta right now) but  
they have designed their hosting specifically to make it easy for  
deploying rails apps.

Paul

On May 29, 3:39 am, Guo Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![daociyiyou](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/0ea827/32.png) [@daociyiyou](https://www.ruby-forum.com/u/daociyiyou)\
**Post date:** [May 29, 2008, 12:39pm UTC](https://www.ruby-forum.com/t/how-do-i-do-to-make-my-local-project-run-on-the-server/138600/7 "2008-05-29T12:39:54Z")

</div>

My host provider is :[http://www.purgehosting.com/hosting.php,i](http://www.purgehosting.com/hosting.php,i) have a  
free host plan now.can you help me?Thank you!
