Flask Setup
Let’s learn to set up Flask on our local system.
To install and run a Flask application on our local system, we have to do the following tasks:
- Update requirement file for Flask.
- Install Flask.
- Create the application.
Update the requirement file for Flask
Let’s start updating the requirement file. The requirements/prod.txt
file should mention Flask, since this package contains a script that runs a local web server that we can use to expose the endpoint.
Get hands-on with 1400+ tech skills courses.