Run flask server with python command
Question:
Can you run a flask server with
python main.py
instead of the export flask app thingy?
Answers:
yes, assuming your main.py file contains
if __name__ == '__main__':
app.run()
Can you run a flask server with
python main.py
instead of the export flask app thingy?
yes, assuming your main.py file contains
if __name__ == '__main__':
app.run()