mirror of
https://github.com/LukePeters/flask-file-uploads.git
synced 2026-05-05 18:01:18 +09:00
main
Uploading Files with Flask
This repository contains the Flask app starter files for this tutorial on YouTube: https://youtu.be/GQLRVhXnZkE
Stylesheet
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
Completed Code
You can find code for the completed tutorial in the completed-tutorial branch here: https://github.com/LukePeters/flask-file-uploads/tree/completed-tutorial
How to Run the App Locally
Using Pipenv
- Modify the
Pipfileto specify your version of Python 3 - Install Flask:
pipenv install - Activate the virtual environment:
pipenv shell
Using virtualenv and pip
- Create the virtual environment:
virtualenv -p python3 env - Activate the virtual environment:
source env/bin/activate - Install Flask:
pip install Flask
Start Flask
Enter these two commands in your terminal:
export FLASK_APP=app
flask run
Description
This repository contains the Flask app starter files for this tutorial on YouTube: https://youtu.be/GQLRVhXnZkE
Languages
CSS
77.5%
HTML
18%
Python
4.5%