Skip to content

A basic template for projects based on Flask, a Python backend framework.

Notifications You must be signed in to change notification settings

cataniamatt/flask-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A template for projects based on Flask

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.

Flask logo

Python virtual environment

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

Project dependencies

All the project dependencies can be installed on the host machine or in the virtual environment using:

pip install -r requirements.txt