0.0.1 • Published 8 years ago

modra-driver-fs v0.0.1

Weekly downloads
4
License
-
Repository
-
Last release
8 years ago

Introduction

FS Driver is responsible for providing filesystem functionality to modules in Modra framework. Right now, its capable of two different filesystems: local filesystem and S3 (Amazon Web Services).

Configuration

{
    d_fs: {
        s3: {
            accessKeyId: "aws-access-key-id",
            secretAccessKey: "some-secret-aws-key",
            region: "eu-west-1",
            bucket: "buck3t"
        }
    }
}

Testing

Make sure you create a config.js file in root which will be parsed for testing. Provide S3 and other credentials if necessary. Use the object from Configuration and module.exports it.