Jump to content

Recommended Posts

Posted

Hello HelioHost Team,

My username is diegoanc280 and I am on the Johnny server.

I recently inquired about SSH access to manage my Python backend, but since it is disabled for security reasons, I would like to request the following to properly set up my development environment in Plesk:

  1. Python Selector/Icon: Could you please enable the Python tool in my Plesk control panel? I need it to manage my application root, versions (preferably 3.12), and the WSGI entry point.

  2. Package Installation: Since I cannot use pip via terminal, could you please install the following libraries for my account:

    • Flask

    • requests

    • psycopg2-binary (for PostgreSQL database connectivity)

    • flask-cors (for API cross-origin requests)

I am a Systems Engineering student working on a backend API for a data project, and having these tools enabled in Plesk would allow me to work efficiently without needing full SSH access.

Thank you for your support and for providing this service to the community.

Β 

Posted

This request was initially posted in: Home > HelioNet > Contact HelioNet however this is not the correct area for Support requests as it is not actively monitored by staff.

I've now moved it to the right place for support:Β Home > HelioHost > Customer Service

Python is enabled by default inside Plesk. You can read more about using Python at HelioHost on our Wiki at: https://wiki.helionet.org/Python_TutorialΒ 

Flask is available on the Johnny server for Python 3.12. We offer guidance on using Flask in our Wiki at: https://wiki.helionet.org/Flask#Johnny_serverΒ 

Please note that WSGI uses caching, which means that during the first 2 hours after a site change, you may intermittently see old or new content, depending on which process you get assigned to, until Apache is restarted on the server, which happens every 2 hours or so.Β 
For Flask development on the Johnny server, we'd recommend that you develop your Flask app on your home computer and then host the production copy on the server. You can read more about caching here: https://wiki.helionet.org/Flask#WSGI_Uses_CachingΒ 

If you need to have changes reflected immediately on your deployed website, you could move your account to the Morty server, or purchase a VPS, where you can get WSGI control access set up. You can read more about that here: https://wiki.helionet.org/Flask#Request_WSGI_Control_AccessΒ 

The requests and flask-cors modules are already installed on Python 3.12 on the Johnny sever. Because all staff are unpaid volunteers, we ask that you check what modules are already installed first, to prevent asking for ones already available for use.Β 
You can see which modules are already installed for Python 3.12 on Johnny here: https://krydos2.heliohost.org/pyinfo/info3.12.pyΒ 
You can read more about the details required when creating a request for additonal modules here:Β https://wiki.helionet.org/Python_Tutorial#Request_Additional_Python_Modules

I'm escalating this thread to our root admins to consider adding the psycopg2-binary module for you for Python 3.12 on Johnny, since you'll be using Flask.

Posted
11 hours ago, diegoanc280 said:

psycopg2-binary (for PostgreSQL database connectivity)

What is the reason you can't useΒ psycopg2 version 2.9.9, which is already installed?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...