2017 © Pedro Peláez
 

library gsutil-sync

Execute gsutil rsync

image

vohinc/gsutil-sync

Execute gsutil rsync

  • Monday, June 19, 2017
  • by casperlaitw
  • Repository
  • 1 Watchers
  • 0 Stars
  • 86 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 5 % Grown

The README.md

Gsutil Sync of Laravel

Install Gsutil

Please follow official guide: Quick Install, (*1)

Setup

Add Provider

Add provider to config/app.php, (*2)

'providers' => [
    ...
    Vohinc\GsutilSync\Providers\GsutilSyncProvider::class,
    ...
],

Publish Configuration

php artisan vendor:publish --provider="Vohinc\GsutilSync\Providers\GsutilSyncProvider" --tag="config"

Configure

return [
    // Gsutil bin path 
    'bin' => '/usr/local/bin/gsutil',

    // What is the full path to your private key file?
    'key' => env('GSUTIL_KEY_PATH'),

    // Please navigate your browser to https://cloud.google.com/console#/project,
    // then find the project you will use, and copy the Project ID string from the
    // second column. Older projects do not have Project ID strings. For such projects,
    // click the project and then copy the Project Number listed under that project.
    'projectId' => '',

    // Gsutil config path
    // Allow Gsutil to call api
    'boto' => storage_path('app/gsutil/boto'),

    // backup path.
    'paths' => [
    ],

    // Bucket name
    'bucket' => '',

    // root path.
    'root' => '',
];

The Versions

19/06 2017

dev-master

9999999-dev

Execute gsutil rsync

  Sources   Download

MIT

The Requires

 

by Casper Lai

19/06 2017

v1.0.4

1.0.4.0

Execute gsutil rsync

  Sources   Download

MIT

The Requires

 

by Casper Lai

18/06 2017

v1.0.3

1.0.3.0

Execute gsutil rsync

  Sources   Download

MIT

The Requires

 

by Casper Lai

18/06 2017

v1.0.2

1.0.2.0

Execute gsutil rsync

  Sources   Download

MIT

The Requires

 

by Casper Lai

18/06 2017

v1.0.1

1.0.1.0

Execute gsutil rsync

  Sources   Download

MIT

The Requires

 

by Casper Lai

18/06 2017

v1.0.0

1.0.0.0

Execute gsutil rsync

  Sources   Download

MIT

The Requires

 

by Casper Lai