GithubHelp home page GithubHelp logo

zaxbux / wn-dostoragedriver-plugin Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 7 KB

Winter CMS plugin for using DigitalOcean Spaces as a filesystem

License: MIT License

PHP 100.00%
digitalocean digitalocean-spaces filesystem

wn-dostoragedriver-plugin's Introduction

Deprecation Notice

Warning: This plugin is no longer being maintained.

Migration Steps

Since October CMS is based on Laravel, the built-in S3 driver (from October.Drivers) completely replaces the functionality of this plugin. Edit your filesystems.php file like so:

'disks' => [

	// ...

	's3' => [
		'driver'     => 's3',                                   // Use the built-in S3 driver
		'key'        => 'XXXXXXXXXXXXXXXXXXXX',                 // DigitalOcean API key
		'secret'     => '0123456789abcdefghijklmnopqrstuvwxyz', // DigitalOcean API secret
		'endpoint'   => 'https://xyz1.digitaloceanspaces.com',  // DigitalOcean spaces endpoint
		'region'     => 'xyz1',                                 // Should match your endpoint
		'bucket'     => 'assets',                               // Your bucket name
		'visibility' => 'public',                               // Make uploads read-only for anonymous users
	],

],

This configures October CMS to use it's own S3 driver to upload files to DigitalOcean spaces, marking them as public (using the public-read canned ACL). This change doesn't delete your uploads or make them inaccessable, and you can still upload files just like before.

wn-dostoragedriver-plugin's People

Contributors

zaxbux avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

dheia

wn-dostoragedriver-plugin's Issues

Video upload

so grateful for this plugin!

Images are uploaded properly.
However, I am facing an issue with video file upload, receiving this popup error from October: File missing from request
I updated the PHP in var such as post_max_size and upload_max_filesize and set a upload_tmp_dir as well in my digital instances, but it does not seem to be working.

any idea please?

Publish to Packagist

Please, can you publish your plugin to Packagist?
So we can install the plugin with composer. Thank you.

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.