Skip to content

mrhenry/gs-uploads

Repository files navigation

GS Uploads

Lightweight "drop-in" for storing WordPress uploads on Google Cloud Storage instead of the local filesystem.

Getting Set Up

composer.json

{
	"repositories": [
		{
			"type": "vcs",
			"url": "https://github.com/mrhenry/gs-uploads"
		}
	],
	"require": {
		"mrhenry/gs-uploads": "...",
	}
}
define( 'GS_UPLOADS_BUCKET', 'my-bucket' );
define( 'GS_UPLOADS_BUCKET_URL', 'https://my-bucket.example.com' ); // optional
define( 'GS_UPLOADS_PROJECT_ID', 'example' ); // optional

Offline Development

While it's possible to use GS Uploads for local development (this is actually a nice way to not have to sync all uploads from production to development), if you want to develop offline you can simply not set GS_UPLOADS_BUCKET.


Originally fork from : humanmade/S3-Uploads

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 14

Languages