https://github.com/emcecs/ecs-webshare
Sample application to upload a file to ECS (or S3 compatible storage) to help share expiring links using Python and Flask.
https://github.com/emcecs/ecs-webshare
Last synced: over 1 year ago
JSON representation
Sample application to upload a file to ECS (or S3 compatible storage) to help share expiring links using Python and Flask.
- Host: GitHub
- URL: https://github.com/emcecs/ecs-webshare
- Owner: EMCECS
- License: apache-2.0
- Created: 2017-02-01T21:57:30.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2018-06-20T15:22:11.000Z (about 8 years ago)
- Last Synced: 2025-02-08T18:45:42.025Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 1
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ecs-webshare
## Introduction
DellEMC ECS is a software-defined, cloud-scale, object storage platform that combines the cost advantages of commodity infrastructure with comprehensive protocol support for unstructured (Object and File) workloads.
ECS supports several Object Storage APIs (Amazon S3, OpenStack Swift, Atmos, CAS), but the Amazon S3 API is by the far the most popular.
## Goal
The ECS-WebShare application will demonstrate how to upload a file to ECS (or S3 compatible storage) to share it with an expiring link.
Python is used as the core language. Flask and Flask-Bootstrap were used to develop a self-signed secure front end.
## How do I use the application?
Bring your ECS (or S3 account) or [create](https://portal.ecstestdrive.com/) one.
1. Install Python (3.5 or later)
2. Install the Python requirements:
```pip install -r requirements.txt```
3. Run the application:
```python app.py```
4. Open your browser and go to your local URL (https://127.0.0.1:3000)
5. Enter your information and file to upload.
6. Press upload
7. Use the provided link to download the object for the storage.