How to Setup Python Flask App on Shared Hosting without Sudo

As you might have noticed many shared hosting servers actually have python installed, but configuring the server to create a python web app using a framework and a template engine (like Flask and Jinja2) can become a nightmare since shared hosting accounts don’t have root access.

I ❤ Linux

Lets start by telling what you need to actually setup Flask.


— — SSH Access to your Web Server
— — Python installed on your web server (Mine had version 2.6)
— — To deploy your Flask App, you need one of these (mod_wsgi, uWSGI, FastCGI and CGI) available on your server. …

Doruk Gezici

Entrepreneur & Full-Stack Developer / Guitarist / Studies Comp. Eng. @ITU

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store