Database abstraction layers, form validation, and other components that utilize third-party libraries are not available.
In Flask-Migrate, you configure Alembic so it can work with Flask and Flask-SQLAlchemy applications. Alembic handles everything in terms of actual database migrations, so you receive the same capabilities. Here, we will focus on the method to install Flask for Arch Linux.
Create and name a virtual environment in Python 3 by using the following commands:
If you are using Python 2, then create a virtual environment in Python 2 using the virtualenv module:
Using the dir command, list the folder structure:
Now you can install Flask through PIP using the following command:
Conclusion
Python-based Flask is a micro web framework. As a microframework, it requires no special tools or libraries. You can repeat the procedures indicated in this guide to build multiple Flask development environments. For more information about various Linux distributions, please visit our official website.
from https://ift.tt/3H6n5uE
0 Comments