FLASK python installation on LINUX Ubuntu Operating System

Python web app development has a frameworks in which we can develop our web app.

There are several python frameworks like Flask,Django,Tornado,pyramid,etc.

To install Flask framework on a Ubuntu there are several Commands to be run on Terminal.

1.pip install flask

2.python

3.import flask

4.create new seperate directory for your new flask app:-mkdir Flask_Blog

5.export FLASK_APP=flaskblog.py

6.flask run

 

After running these 6 command you will see a localhost address as 127.0.0.1:5000

To set the debugger pin, run command FLASK_DEBUG=1

copy these address and paste it in your browser.You will see a Hello world Program on your screen.