Answer the question
In order to leave comments, you need to log in
How to run an application in Python (Flask)?
Good afternoon. I apologize in advance for the noob question.
There is a task to run the sent application in Python (Flask)
Previously, I had nothing to do with Python stories at all, only with PHP
I uploaded it to the hosting - I open it in the browser - there is nothing. Only the Apache start page, which opens in those very cases when the opening of an index file is not specified.
I don’t see any analogue of htaccess where it would be possible to specify the opening of any index file (and it’s not clear which file to specify as an index file)
On the server and python and flask are installed, I checked with support about this.
Help me deal with the launch of the application) I don’t know which side to even approach
Answer the question
In order to leave comments, you need to log in
you need to manually configure htaccess to work with wsgi
or run in cgi mode,
but before that you need to configure the virtual env, as there may be dependencies,
and this is again to correctly configure apache or hosting
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question