Skip to content

Instantly share code, notes, and snippets.

@drengle
drengle / FlaskOnSharedHosting.md
Last active October 29, 2022 02:42
How to Create Python Flask Website with Shared Hosting and No Root/Sudo Access.

Intro

I'm writing this walkthrough (here and a few other places) to hopfully make it much easier for anyone to impliment their Python Flask websites in a shared hosting environment.

I know many colleges and courses use Python and Flask to create websites, but it may be difficulat to understand how to translate that website from the classroom to a real hosting environment. I know for me personally it tookmany hours pouring through internet searches before I finally figured out how to get this working.

If you feel like you generally know what you're doing and don't need the basics explained to you then you can skip ahead to step 3.

1. Your Host Must Support Python Development