Fast execution of Flask
Flask is a micro web framework written in Python. It is classified as a microframework because it does not require particular tools or libraries. It has no database abstraction layer, form validation, or any other components where pre-existing third-party libraries provide common functions
What is Virtualenv? Virtual Python Environment builder Development status: Production/Stable
Install Virtualenv
pip install virtualenv
Activate the virtual environment
virtualenv env
source env/bin/activate
How to exit your virtualenv ?
just type “deactivate”
.
Freeze is a "pure Python" utility that ships with Python. You can use Freeze to compile executables for Unix systems.
pip freeze
pip install Flask
pip freeze > requirements.txt
python app.py
The "tree"
command is a very extensively used Bash command in Linux. It is used to display the contents of any desired directory of your computer system in the form of a tree structure.
├── app.py
├── LICENSE
├── README.md
├── requirements.txt
├── static
│ └── css
│ └── main.css
├── templates
│ ├── about.html
│ └── home.html
│
│
│
│
│
└── env
├── bin
├── lib
└── pyvenv.cfg