|
|
3 年之前 | |
|---|---|---|
| .. | ||
| .github | 3 年之前 | |
| downloads | 3 年之前 | |
| templates | 3 年之前 | |
| .gitignore | 3 年之前 | |
| Pipfile | 3 年之前 | |
| Pipfile.lock | 3 年之前 | |
| README.md | 3 年之前 | |
| __init__.py | 3 年之前 | |
| app.py | 3 年之前 | |
| requirements.txt | 3 年之前 | |
| s3_demo.py | 3 年之前 | |
This repository contains the code for this blogpost on StackAbuse.
Kindly ensure you have the following installed on your machine:
Clone the repository
$ git clone https://github.com/ro6ley/flask-drive.git
Check into the cloned repository
$ cd flask-drive
If you are using Pipenv, setup the virtual environment and start it as follows:
$ pipenv install && pipenv shell
Install the requirements
$ pip install -r requirements.txt
Configure AWS CLI
$ aws configure
Create a bucket on AWS Dashboard and update it on the app.py file on line 10.
Run the application
$ python app.py
Navigate to http://localhost:5000/storage
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.