Flask

Introduction
  • Flask is a micro framework for python.
  • It is a minimal web application framework.
  • Software that supports web application development.
  • The Flask server takes Html files from a standard folder called as "static".
  • When ever a Html File is called it looks for it in static folder.
Installation
  • On Anaconda prompt use following command
    • Conda install -c anaconda flask
  • Invoke application by setting parameter
    • set FLASK_APP=sample_app.py
  • Start flask server
    • flask run --host=0.0.0.0
  • once flask server is running
    • Paste URL into browser
      • http://localhost:5000/sample
Sources
  • Deep Lizard Youtube videos
  • Siraj Youtube Videos

Comments

Popular posts from this blog