Answer the question
In order to leave comments, you need to log in
How to deploy a Flask application via WSGI on Apache?
I decided to try my hand at web programming and started learning python with flask, bought hosting on jino and just don't understand how to deploy even the simplest application here. I dug up a bunch of sites - nothing happened.
For example, I have an application like this:
from flask import Flask
app = Flask(__name__)
@app.route("/")
def index():
return "Hello world!"
if __name__ == "__main__":
app.run()
def application(env, start_response):
start_response('200 OK', [('Content-Type','text/html')])
return "Hello world"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question