Skip to content
site logo mobile

Forum in maintenance, we will back soon 🙂

How to deploy a scr...
 
Notifications
Clear all

How to deploy a script on a website

5 Posts
5 Users
3 Reactions
679 Views
(@sammy)
Posts: 1
New Member
Topic starter
 

I have tried to upload a script repeatedly using cpanel without success. The script I created using chatGPT even display well on my local computer,but could not display on the website. What am I doing wrong?  I have watched videos on how to upload using cpanel. I need a guide here. Thanks

 
Posted : 05/23/2023 2:38 pm
becker reacted
(@buddabang)
Posts: 1
New Member
 

Hi Sammy I assume you mean Python scripts? Firstly you need to see if your hosting company supports Python.

It's important to note that running Python scripts on a website requires server-side execution. The output of the Python script is typically HTML, JSON, or other data that the web server sends to the client's browser. The client's browser then renders the response received from the server.

If your hosting company does support this then I'd approach the help desk for the said company as not all hosting companies work the same.

there's an article here that might help https://www.analyticsinsight.net/top-10-python-hosting-service-providers-to-look-out-for-in-2022/#:~:text=SiteGround%3A%20SiteGround%20provides%20a%20variety,for%20developers%20managing%20different%20technologies.  

 
Posted : 05/23/2023 4:38 pm
SSAdvisor
(@ssadvisor)
Posts: 1083
Noble Member
 

Posted by: @sammy

I have tried to upload a script repeatedly using cpanel without success. The script I created using chatGPT even display well on my local computer,but could not display on the website. What am I doing wrong?  I have watched videos on how to upload using cpanel. I need a guide here. Thanks

That depends on the script? Do you have a Github account you could upload the script to? Or maybe just upload the file here.

 

Regards,
Earnie Boyd, CEO
Seasoned Solutions Advisor LLC
Schedule 1-on-1 help
Join me on Slack

 
Posted : 05/23/2023 4:47 pm
(@negtor)
Posts: 6
Active Member
 

but what exactly is the problem? it doesn't work? it doesn't look good? all of the above?

 
Posted : 05/23/2023 7:07 pm
Hasan Aboul Hasan
(@admin)
Posts: 1116
Member Admin
 

as @negtor mentioned, yes, what is the problem?

 
Posted : 05/24/2023 11:24 am
Share: