@dalongrong/cube-s3repository
v2.3.1
Published
> test with minio && use json5 for security json parse
Downloads
31
Readme
cube.js s3 S3FileRepository
test with minio && use json5 for security json parse
Usage
- add .env file
CUBEJS_S3_ENDPOINT=localhost
CUBEJS_S3_PORT=9000
CUBEJS_S3_SSL=false
CUBEJS_S3_ACCESSKEY=minio123
CUBEJS_s3_SECRETKEY=demoapp
CUBEJS_S3_BUCKET=demo
- cube.js file
const myS3FileRepository = require("@dalongrong/cube-s3repository")
module.exports = {
...
repositoryFactory: myS3FileRepository.repositoryFactory,
...
};
Some Notes
- 2.x is not same as 1.x version