How I finally got a Python Flask app installed on Cpanel
In summary:
1. Check versions! Of Python, Flask and Jinja
2. Read this really useful tutorial https://dev.to/lordghostx/how-to-host-flask-applications-on-namecheap-cpanel-299b (Thanks LordGhostX)
Okay so I’ve been meaning to figure this out for a while. Flask is a good library for letting students use the power of Python as a back end to the graphical niceties of HTML,CSS and Javascript. But we’ve been stuck to using it on Replit or Glitch which, being public sites, aren’t ideal for students who are doing their final year project and suffer the other issues of remotely hosted IDEs. So I was always interested in finding another way. Read more…