Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.
/ trackerbot Public archive

Our serverless time tracking bot

Notifications You must be signed in to change notification settings

xpeppers/trackerbot

Repository files navigation

Trackerbot

Build Status

Docker notes

Build it:

$ docker build -t trackerbot .

Run it interactive:

$ docker run --rm -itv $(pwd):/app --name tb trackerbot

Run tests inside the container:

$ npm test test/offline
$ AWS_ACCESS_KEY_ID=[YOUR_AWS_ACCESS_KEY_ID] AWS_SECRET_ACCESS_KEY=[YOUR_AWS_SECRET_ACCESS_KEY] AWS_REGION=us-east-1 npm t

Deploy local version to production:

$ AWS_ACCESS_KEY_ID=[YOUR_AWS_ACCESS_KEY_ID] AWS_SECRET_ACCESS_KEY=[YOUR_AWS_SECRET_ACCESS_KEY] AWS_REGION=us-east-1 npm run update