> ## Documentation Index
> Fetch the complete documentation index at: https://kb.mochahost.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to create/deploy your Ruby on Rails App (Cpanel Shared Servers)

1. Login to the Cpanel.

![](https://tutorials.my-virtual-panel.com/cpanel_ruby/1_Ruby_CPanel.png)

2. Select **Setup Ruby App** under **SOFTWARE section**.

![](https://tutorials.my-virtual-panel.com/cpanel_ruby/2_Ruby_CPanel.png)

3. Choose **Ruby version** for your application, **application folder name (App Directory)** and **URI for accessing your application**. Click **Setup** to create an application.

![](https://tutorials.my-virtual-panel.com/cpanel_ruby/3_Ruby_CPanel.png)

4. After a little while a new application entry will be appended to the web-page. You can **edit Application Directory** (folder name in homedir, for example /home/clman1) and **App URI** for application. If you click **Edit** - the value is converted to input field and thus becomes editable. When editing is complete, click **Save**.

![](https://tutorials.my-virtual-panel.com/cpanel_ruby/4_Ruby_CPanel.png)

5. When **Show control** is clicked, Ruby extensions section will be expanded. It gives the ability to add or remove Ruby modules. When start typing in input field, appropriate hints are shown in drop-down list. Choose the entry you want from drop-down and click **Add**.

![](https://tutorials.my-virtual-panel.com/cpanel_ruby/5_Ruby_CPanel.png)

6. Via the **Execute command** you can run simple commands from web interface (e.g. you can install packages from specific repositories or control web applications by means of django-admin).

![](https://tutorials.my-virtual-panel.com/cpanel_ruby/6_Ruby_CPanel.png)

7. Changes are saved after Update button is clicked. Before the **Update** button is clicked, all changes can be reverted with **Reset** button.

![](https://tutorials.my-virtual-panel.com/cpanel_ruby/7_Ruby_CPanel.png)
