Skip to content

LukePeters/flask-file-uploads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  1. Modify the Pipfile to specify your version of Python 3
  2. Install Flask: pipenv install
  3. Activate the virtual environment: pipenv shell

Using virtualenv and pip

  1. Create the virtual environment: virtualenv -p python3 env
  2. Activate the virtual environment: source env/bin/activate
  3. Install Flask: pip install Flask

Start Flask

Enter these two commands in your terminal:

export FLASK_APP=app

flask run

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published