Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.26 KB

File metadata and controls

52 lines (36 loc) · 1.26 KB

flask template

GitHub contributors GitHub License PyPI - Version

folder structure for python flask


how to usage

To run your flask application, just follow the steps below

using development mode

To run the application in development mode, just write the following command line

flask run --debug

or if you are having problems after you have run the above command, you can try the following steps

edit the entry file

the entry file for this project is main.py file. please change the contents of the file as below

if __name__ == "__main__":
    app.run(debug=True)

using production mode

To run the application in development mode, just write the following command line

flask run

or if you are having problems after you have run the above command, you can try the following steps

edit the entry file

the entry file for this project is main.py file. please change the contents of the file as below

if __name__ == "__main__":
    app.run(debug=False)

built with ♥️ by fiandev