1.9.0 • Published 7 years ago

backand-hosting-s3 v1.9.0

Weekly downloads
2
License
-
Repository
github
Last release
7 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

7 years ago

1.8.5

7 years ago

1.8.4

7 years ago

1.8.3

7 years ago

1.8.2

7 years ago

1.8.1

8 years ago

1.8.0

8 years ago

1.7.1

8 years ago

1.7.0

8 years ago

1.4.0

8 years ago

1.3.0

8 years ago

1.2.2

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago