Flask depends on the Jinja template engine and the Werkzeug WSGI toolkit.
Steps to create Flask App:
Start the app building by going to the folder where you want to save code. In my case:
C:>C:\Usres\HP-PC\Documents\Internship\DevIncept
C:>C:\Usres\HP-PC\Documents\Internship\DevIncept\mkdir app3
C:>C:\Usres\HP-PC\Documents\Internship\DevIncept\cd app3
Created a new virtual environment env
pip install virtualenv
virtualenv env
Activated the virtual environment
env\Scripts\activate
Installed the flask package using:
pip install flask
FLASK:
Flask is a web application framework in python
Flask depends on the Jinja template engine and the Werkzeug WSGI toolkit.
Steps to create Flask App:
Start the app building by going to the folder where you want to save code. In my case: C:>C:\Usres\HP-PC\Documents\Internship\DevIncept C:>C:\Usres\HP-PC\Documents\Internship\DevIncept\mkdir app3 C:>C:\Usres\HP-PC\Documents\Internship\DevIncept\cd app3
Created a new virtual environment env pip install virtualenv virtualenv env
Activated the virtual environment env\Scripts\activate
Installed the flask package using: pip install flask
Written the flask code in python using sublime text as app3.py ([https://github.com/DibyashaPanda/MY-FIRST-Flask-App])
Set the flask app by connecting to app3.py and running it. set FLASK_APP=app3.py flask run
On running the code and link was provided where the output of the app was displayed in an HTML format.