Knowledge Base
MilesWeb / Web Hosting FAQ

How to Create the End User Access for Python and Ruby Selector?

Approx. read time : 3 min

The needs of your customers differ from each other. With the Ruby Selector, the end user can select the Ruby version for applications and also install additional modules (gems) to the application environment. Since Ruby Selector uses mod_passenger it gives optimum performance.

Let’s see the steps to create end user access for Python and Ruby Selector.

Create the End User Access for Python Selector

1. Go to the Software/Services section in cPanel and choose Select Python App.

2. Then click on Create Application.

3. An application form as below will get displayed:

  • In the Python version list box, select the Python version as per your preference.
  • In the Application root text box, type the directory where your application files are located.
  • In the Application URL list box, select the domain, and then type a URL for the application.
  • In the Application startup file text box, you can mention the startup file for the application as required.

Note: If you do not mention a startup file, cPanel will create a passenger_wsgi.py startup file for you.

4. In the Application Entry point text box, you can mention the callable object for the application as required.

Note: If you do not mention the application entry point, cPanel will create a default application object for you.

5. In the Passenger log file text box, you can mention a log file for the application as required.

6. Under Environment variables, you can set environment variables for the application as required. For this, click ADD VARIABLE, type the variable Name and Value, and then click DONE.

7. Go to the top right corner of the page and click CREATE for creating the application as shown in the above image.

8. cPanel will create the application and set up the Python environment as below.

9. If you want to work inside the newly created environment, connect to your account via SSH, and then type the below command. Replace username, application, and version with the appropriate values as shown at the top of the page, next to Enter to the virtual environment.

10. To enter the virtual environment, execute the below command:

source /home/username/virtualenv/application/version/bin/activate && cd /home/username/application

11. Now you are free to install modules or use other commands for developing the Python application further. Moreover, you can control the application’s running state from cPanel:

  • To stop the application, click STOP APP.
  • To restart the application, click RESTART.
  • To completely remove the application from cPanel, click DESTROY.

Create the End User Access for Ruby Selector

1. Click on the Setup Ruby App.

2. The below page will get displayed:

  • In the Ruby version field, select the Ruby version as per your needs.
  • In the App Directory /home/mwadmin/ field, enter the directory name.
  • In the App Domain/URI field, select the domain.

3. Then click on Setup. You will get a message of successful setup once it is done.

4. In this window, you can edit the App Directory, App URI and change the Ruby version.

5. It is also possible to run simple commands from web interface (e.g. it is possible to install packages from specific repositories or control web applications with the help of django-admin).

This way you can create the end user access for Python and Ruby Selector.

Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna