Skip to content

A simple Flask app to upload and download files off Amazon's S3

Notifications You must be signed in to change notification settings

PGATOUR/flask-drive

 
 

Repository files navigation

HitCount

FlaskDrive

This repository contains the code for this blogpost on StackAbuse.

Getting Started

Prerequisites

Kindly ensure you have the following installed on your machine:

Running the Application

  1. Clone the repository
$ git clone https://github.com/ro6ley/flask-drive.git
  1. Check into the cloned repository
$ cd flask-drive
  1. If you are using Pipenv, setup the virtual environment and start it as follows:
$ pipenv install && pipenv shell
  1. Install the requirements
$ pip install -r requirements.txt
  1. Configure AWS CLI
$ aws configure
  1. Create a bucket on AWS Dashboard and update it on the app.py file on line 10.

  2. Run the application

$ python app.py
  1. Navigate to http://localhost:5000/storage

Contribution

Please feel free to raise issues using this template and I'll get back to you.

You can also fork the repository, make changes and submit a Pull Request using this template.

About

A simple Flask app to upload and download files off Amazon's S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 67.1%
  • HTML 32.9%