刘凡 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
..
.github 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
downloads 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
templates 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
.gitignore 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
Pipfile 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
Pipfile.lock 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
README.md 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
__init__.py 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
app.py 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
requirements.txt 9ff4d1d109 add S3,archive,truncate vor 2 Jahren
s3_demo.py 9ff4d1d109 add S3,archive,truncate vor 2 Jahren

README.md

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
    
  2. Check into the cloned repository

    $ cd flask-drive
    
  3. If you are using Pipenv, setup the virtual environment and start it as follows:

    $ pipenv install && pipenv shell
    
  4. Install the requirements

    $ pip install -r requirements.txt
    
  5. Configure AWS CLI

    $ aws configure
    
  6. Create a bucket on AWS Dashboard and update it on the app.py file on line 10.

  7. Run the application

    $ python app.py
    
  8. 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.