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
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
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
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.