C
C#4mo ago
rabbitt

Help with deploying through Netlify via github

hey yall, this is not C# related sorry, but could anyone with knowledge on deploying a site to netlify through github help me understand why my site is messed up? I am very new, its a super simple flask site that id like to get setup so i can keep building it. Here is the current URL: https://orbut.netlify.app/templates/index.html it looks like it is ignoring the jinja and just printing the code, is there something i need to install on the server or something?
11 Replies
Angius
Angius4mo ago
flask
Netlify is a static site hosting It does not run any server code So it will not run your Flask app, it just serves the static files as they are
rabbitt
rabbitt4mo ago
nooo thats embarrassing, second time it happened to me, i thought a post was saying netlify would run the server stuff but i misread is there any host that will run the webapp that is free? or even just extremely cheap
Angius
Angius4mo ago
Netlify does have support for serverless functions, yes. It's not the same as a server to run code
rabbitt
rabbitt4mo ago
i see, that makes sense
Angius
Angius4mo ago
Far as cheap or free options go, $vps
Angius
Angius4mo ago
For Python specifically, there's also PythonAnywhere that starts at, like, $5 Other than that... maybe people from the $python server will have recommendations
rabbitt
rabbitt4mo ago
i saw some people recommending that, thoughts on digitalocean? oh cool, thanks ill join that
Angius
Angius4mo ago
All of the VPSes mentioned in the message are reputable Vultr, Hetzner, and OVH having the cheapest plans The rest usually starting at $5/mo
rabbitt
rabbitt4mo ago
interesting, thanks for your help :)