1.9.0 • Published 9 years ago

backand-hosting-s3 v1.9.0

Weekly downloads
2
License
-
Repository
github
Last release
9 years ago

backand-hosting-s3

Sync a local folder to Backand AWS S3 hosting bucket

  1. Require

    var gulp = require('gulp');
    var backandSync = require('../sync-module');
  2. Set credentials. Credentials will be stored in file .backand-credentials.json:

    gulp.task('sts', function(){
        var masterToken = "your master backand token";
        var userToken = "your user backand token"; 
        return backandSync.sts(masterToken, userToken);
    });
  3. Sync folder ./src

    gulp.task('dist', function() {   
        var folder = "./src";
        return backandSync.dist(folder);
    });
  1. Syncing is done via local cache file .awspublish-<bucketname>. Repeated add/delete of the same file may confuse it. To clean the cache do:

    gulp.task('clean', function() {
        return backandSync.clean();
    });
1.9.0

9 years ago

1.8.5

9 years ago

1.8.4

9 years ago

1.8.3

9 years ago

1.8.2

9 years ago

1.8.1

9 years ago

1.8.0

9 years ago

1.7.1

9 years ago

1.7.0

9 years ago

1.4.0

9 years ago

1.3.0

9 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago