Giter Site home page Giter Site logo

alirezamohammadi / frappe-attachments-s3 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zerodha/frappe-attachments-s3

0.0 0.0 0.0 60 KB

A frappe app to upload file attachments in doctypes to s3.

License: Other

JavaScript 6.58% Python 93.42%

frappe-attachments-s3's Introduction

Frappe S3 Attachment

Frappe app to make file upload automatically upload and read from s3.

Features.

  1. Upload both public and private files to s3.
  2. Stream files from S3, when file is viewed everytime.
  3. Lets you add S3 credentials (aws key, aws secret, bucket name, folder name) through ui and migrate existing files.
  4. Deletes from s3 whenever a file is deleted in ui.
  5. Files are uploaded categorically in the format. {s3_folder_path}/{year}/{month}/{day}/{doctype}/{file_hash}

Installation.

  1. bench get-app https://github.com/zerodhatech/Frappe-attachments-s3.git
  2. bench install-app frappe_s3_attachment

Configuration Setup.

  1. Open single doctype "s3 File Attachment"
  2. Enter (Bucket Name, AWS key, AWS secret, S3 bucket Region name, Folder Name) Folder Name- folder name is the default folder path in s3.
  3. Migrate existing files lets all the existing files in private and public folders to be migrated to s3.
  4. Delete From Cloud when selected deletes the file form s3 bucket whenever a file is deleted from ui. By default the Delete from cloud will be unchecked.

License

MIT

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.