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()