Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

flask run localhost

# First, export the name of your flask app
export FLASK_APP=app_name

# Next, run the app from the command line
flask run

# Now, open http://127.0.0.1:8000/ in your browser (or use whatever port you specified)
Source by flask.palletsprojects.com #
 
PREVIOUS NEXT
Tagged: #flask #run #localhost
ADD COMMENT
Topic
Name
1+1 =