简体   繁体   中英

How to Move A Ruby On Rails Website To New Server

I have a Ruby on Rails website which I have successfully tar the apps directory which included the current folder ect. Which I Wget to transfer the files over. The server I have moved to is setup to run Ruby on Rails but is there anything else I need todo to get it running?

Any commands via SSH?

My new server setups is Ubuntu 11.04 running ISPConfig 3 as the server admin.

Current the file are in the correct location with the correct permissions and owners. But all I'm getting is the default ISPConfig page.

(This is the default index page of your website. This file may be deleted or overwritten without any difficulty. This is produced by the file index.html in the web directory.)

If anyone can point me in the right direction that would be great.

Have you tried creating a symbolic link on the server to the application something like

cd ~/public_html;
ln -s ~/rails-test-application/public rails3

http://www.site5.com/blog/programming/ruby-rails/how-to-deploy-phusion-passenger-to-a-subdirectory-routing-errors-and-restarting/20090414/

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM