May 8, 2024, 12:00 AM by Nasredeen Abdulhaleem
Install and Run Python Application on Skynet

To install a Python project on Skynet, follow these steps:

1. Log in to Panel
  Open your web browser and navigate to the Control panel for your package or login with credentials to access the Panel interface.

2. Create a Domain or Select an Existing One
  If you haven't already, create a new domain or select an existing domain where you want to install your Python project and pick “Empty Website” as the website template.

3. Open the Domains Section
  In the Plesk interface, locate the "Domains" section and click on the domain where you want to install your Python project and select Python App.

4. Enable Python Support (if not enabled)
  In the Hosting Settings, locate the Enable Python Button. Click on the button to enable Python support for your domain or subdomain.

5. Upload Your Python Project Files
 Navigate to the Files section from your dashbboard and select the appropriate domain. Use an FTP client or the Panel File Manager to upload your Python project files to the appropriate directory on your server (e.g., `httpdocs/`) and make sure you have requiremets.txt file as well. the directory should serve as your app root directory.

6. Install Required Python Packages (make sure you have requirements.txt)
  Ensure you have a requirements.txt file that contains all your packages. When the enable python button or restart is clicked it automatically installs all the packages in you requirements.txt file.

7. Configure Entry Point

  Configure your entry point by creating an app.py file import your app into the file if your entry is in a different app such as in Django which is wsgi.py. e.g.,

for Flask and Fastapi from main import app  .

for Django you will need to import application from wsgi.py file which is located in your project folder

from project_folder.wsgi import application as app 

make sure to save changes before proceeding to the next step.

9.Restart your server

Once every configuration is complete return to the Python App page and restart your app. The changes should have take effect visit your domain URL to confirm your app is running.

10. Access Your Python Project
   Your Python project should now be accessible through the domain or subdomain URL you configured in the Panel.

Note: The exact steps may vary slightly depending on your Python project and version and the specific requirements of your Python project. Additionally, you may need to configure additional settings, WSGI servers, or database connections, depending on your project's needs.

© 2025 Skynet Web Services