How to use google cloud storage instead of s3?

(David) #1

Discourse seems to use the fog gem, which supports many cloud services, including google cloud storage. But, is discourse currently just written to work with s3 as te cloud storage, or can it be already used with google cloud storage?

(Jeff Atwood) #2

Right now for simplicity we are focusing on S3. So either you store stuff locally, on your server, or you store it on Amazon S3.

(David) #3

Apart from this:

is there any other s3-specific parts? (Seems like onebox doe snot render the right code line).

If not, all we need is instead of The rest is handled by fog.

(Régis Hanol) #4

Nothing prevents you from writing your own custom google_cloud_storage_store. And yes, you should probably use the s3_store as a starting point.