flask.md
Creating a New Flask App
Create the project's directory
Install Flask
Create & activate the project's virtual environment
Create the directory & file that will hold the app's main Python code
Basic layout in Python file (e.g. __init__.py)
__init__.py)import flask from Flask
def create_app( test_config=None ):
app = Flask( __name__, instance_relative_config=True )
...
return appSet environment variables & run the application\
About Flask
About Virtual Environments
About SQLite
Adding a UI
Bootstrap
Icons
Brad Nesbitt 10/26/2018
Last updated
Was this helpful?
