Skip to content

A versioned cache backed by cloud storage

License

Notifications You must be signed in to change notification settings

paulmelnikow/wabac

Repository files navigation

wabac

version license build code style

A versioned cache backed by cloud storage.

Install

$ npm install --save wabac

Usage

Follow the Google Cloud Storage quickstart. In particular, you must set up authentication with a service account and set the GOOGLE_APPLICATION_CREDENTIALS access variable.

Development

Designate a name for your test bucket. Be careful! The tests will destroy this bucket.

Create a .env:

GOOGLE_APPLICATION_CREDENTIALS=...
TEST_LOCATION=us-east1
TEST_PROJECT_ID=your-project-here
TEST_BUCKET_NAME=careful-because-what-you-specify-will-get-wiped-out-by-the-tests

License

This project is licensed under the MIT license.