Skip to content

Latest commit

 

History

History
54 lines (41 loc) · 979 Bytes

README.md

File metadata and controls

54 lines (41 loc) · 979 Bytes

WIP - Electron-powered Google calendar menubar app

Not ready for daily usage

Install

With npm and node (v6+) installed, do:

$ npm install
$ npm start

Before you can start the app, you need Google OAuth client credentials with the Calendar API enabled:

  1. Create a project here: https://console.developers.google.com/iam-admin/projects?pli=1
  2. Go to the API Manager and enable the Calendar API
  3. Create Credentials > OAuth Client Id, then choose "Other" as the application type

A ./secrets.json file is required, with the following clientId and clientSecret:

{
  "oauth": {
    "clientId": "<your clientId>",
    "clientSecret": "<your clientSecret>"
  }
}

npm scripts

Open dev tools when app is started with:

$ npm run dev

Run tests with:

npm test

Lint with:

npm run lint

Clear out your local database with:

$ npm run clear-data