How to Deploy Ruby on Rails

To deploy Ruby on Rails framework to your domain folder:

1. Login into secure shell via SSH protocols.

2. Browse to the folder that you wish to have the rails installed and run the following commands:

    rails <rail_name>; where <rail_name> is any name you wish to have.

3. If the application is created under the www folder, just browse to http://domainname/<anyname>/public .

Hints:

To have a secure rails create the rails framswork outside www folder and then create a symbolic link in the www folder to refer to the framework's public folder.

You may refer to the following URL for further references:

http://www.rubyonrails.org/docs

  • 0 Benutzer fanden dies hilfreich
War diese Antwort hilfreich?