owais / RTTD

A timezone dashboard for remote teams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RTTD

Status

This is a toy project built for fun so please don't expect high quality engineering or much attention to issues/requests.

Screenshot

RTTD

Screenshot made of fake data from https://randomuser.me/

Originally designed by @skippednote at https://github.com/skippednote/slack-timezone

Run locally

Makefile

Makefile is mostly broken right now but the build work. The workflow is as follows:

$ make install
$ make build
$ ./build/timezones --slack-api-token=<token>

Deploy to Heroku in 5 minutes

Create new Heroku app

$ heroku create --buildpack https://github.com/tonyta/heroku-buildpack-custom-binaries.git

Creating app... done, ⬢ <app-name>
Setting buildpack to https://github.com/tonyta/heroku-buildpack-custom-binaries.git... done
https://<app-name>.herokuapp.com/ | https://git.heroku.com/<app-name>.git

Provide access to Slack

Now generate a Slack API Token and add it as an environment variable aka config variable to your heroku app from the heroku dashboard. Variable name should be SLACK_API_TOKEN. An alternative to this is to append --slack-api-token="<api-token> to the web command in Procfile below.

Deploy Heroku app

$ git clone https://git.heroku.com/<app-name>.git
$ cd <app-name>
$ echo "rttd_linux: https://github.com/owais/RTTD/releases/download/v0.2.0/RTTD_0.2.0.tar.gz" > .custom_binaries
$ echo "web: rttd_linux" > Procfile
$ git add -A .
$ git commit -m"Deploying to heroku"
$ git push

That's it. Your instance of RTTD should be up and running at https://<app-name>.herokuapp.com/

To upgrade to a newer version, change 0.2.0 to the version number in .customer_binaries file and push to heroku.

About

A timezone dashboard for remote teams

License:MIT License


Languages

Language:Go 84.1%Language:Makefile 12.3%Language:HTML 3.6%