Skip to content

Latest commit

 

History

History
46 lines (32 loc) · 1.3 KB

README.md

File metadata and controls

46 lines (32 loc) · 1.3 KB

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.