This is a template for projects based on Flask and it includes a functional web form that captures user input. User input is validated using FlaskWTF.
Go to the project directory and execute the following command to create a Python virtual environment:
python3 -m venv venv
Once the virtual environment is created, activate it using:
source venv/bin/activate
All the project dependencies can be installed on the host machine or in the virtual environment using:
pip install -r requirements.txt