How to setup environment for Ruby on Rails application Tanzania

You can setup your environment for your Ruby on Rails application in cPanel in the following way:

1. Log into your cPanel, navigate to section Software/Services > Ruby on Rails.



2. Fill in corresponding fields:

- Insert your application name in App Name text box.
- Checkmark Load on Boot? option and fill in Application Path (filled in automatically by default).
- Set Environment to the preferable type.

and click on Create.



3. Create a rewrite rule for your application in order to access it in the future via web browser.
Click on Create Rewrite for newly created application in Create A Rewrite section.



4. Choose the domain and URL (1) to redirect rails application to and click on Save (2).



5. In order to run the application, click on Run button in Actions section



6. Once the App Status is changed to Running, navigate to your apps URL in the browser. You will see Ruby on Rails welcome board.




This is it!
Environment for your Ruby on Rails application is set up. Feel free to deploy your application now.
  • 3 Users Found This Useful
Was this answer helpful?

Related Articles

How to Create Custom Error Pages Tanzania

This tutorial will teach how to create custom Error Pages. Create error pages for 404 Not Found...

How To Install and Uninstall FrontPage Extensions Tanzania

This tutorial will show you how to install and uninstall FrontPage extensions. Please note that...

How To Set Up A Cron Job Tanzania

This tutorial is going to show you how to setup a cron job in cPanel the easy way. You can set a...

Using Index Manager Tanzania

This tutorial will teach about using the Index Manager. The Index Manager allows you to customize...

Limiting Simultaneous Connections in FileZilla Tanzania

Open FileZilla. Access the Site Manager.   Click your site, then select the Transfer...

Powered by WHMCompleteSolution