This repository contains the Flask app starter files for this tutorial on YouTube: https://youtu.be/GQLRVhXnZkE
You can find the CSS file in the static/ directory or just click here: https://raw.githubusercontent.com/LukePeters/flask-file-uploads/main/static/styles.css
You can find code for the completed tutorial in the completed-tutorial branch here: https://github.com/LukePeters/flask-file-uploads/tree/completed-tutorial
- Modify the
Pipfileto specify your version of Python 3 - Install Flask:
pipenv install - Activate the virtual environment:
pipenv shell
- Create the virtual environment:
virtualenv -p python3 env - Activate the virtual environment:
source env/bin/activate - Install Flask:
pip install Flask
Enter these two commands in your terminal:
export FLASK_APP=app
flask run