# Where do I copy my RoR application

**URL:** <https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724>\
**Category:** Deployment\
**Created:** [October 12, 2008, 3:13am UTC](https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724 "2008-10-12T03:13:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jsn1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ea924/32.png) [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Post date:** [October 12, 2008, 3:13am UTC](https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724/1 "2008-10-12T03:13:31Z")

</div>

Hi all

I have a questions about how to deploy my RoR application. In my server  
I already have an html applicaiotn, and one of these pages needs to call  
the RoR.

Currently my pages are inside the public\_html folder

Where do I copy my RoR project ?

- inside public\_html?

---

<div class="post-metadata">

**Author:** ![jsn1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ea924/32.png) [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Post date:** [October 14, 2008, 9:02am UTC](https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724/2 "2008-10-14T09:02:59Z")

</div>

Pepe S. wrote:

> Hi all
> 
> I have a questions about how to deploy my RoR application. In my server  
> I already have an html applicaiotn, and one of these pages needs to call  
> the RoR.
> 
> Currently my pages are inside the public\_html folder
> 
> Where do I copy my RoR project ?
> 
> - inside public\_html?

remove or rename ‘PROJECT\_DIR\public\index.html’

copy your all html application (with directory structure) into  
‘PROJECT\_DIR\public’ folder  
then

> ruby script\server -e product

---

<div class="post-metadata">

**Author:** ![jsn1](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/7ea924/32.png) [@jsn1](https://www.ruby-forum.com/u/jsn1)\
**Post date:** [October 18, 2008, 11:34pm UTC](https://www.ruby-forum.com/t/where-do-i-copy-my-ror-application/150724/3 "2008-10-18T23:34:41Z")

</div>

Also, remember that if you made the appication restful and haven’t  
messed with your .htaccess file you can just make rest calls to your  
rails application from your static html files.

I do this a lot when I am integrating legacy sites into new rails sites.

Good luck

Sniper A. wrote:

> Pepe S. wrote:
> 
> > Hi all
> > 
> > I have a questions about how to deploy my RoR application. In my server  
> > I already have an html applicaiotn, and one of these pages needs to call  
> > the RoR.
> > 
> > Currently my pages are inside the public\_html folder
> > 
> > Where do I copy my RoR project ?
> > 
> > - inside public\_html?
> 
> remove or rename ‘PROJECT\_DIR\public\index.html’
> 
> copy your all html application (with directory structure) into  
> ‘PROJECT\_DIR\public’ folder  
> then
> 
> > ruby script\server -e product
