https://github.com/owais/rttd
A timezone dashboard for remote teams
https://github.com/owais/rttd
dashboards golang gopherjs isomorphic remote teams
Last synced: 3 months ago
JSON representation
A timezone dashboard for remote teams
- Host: GitHub
- URL: https://github.com/owais/rttd
- Owner: owais
- License: mit
- Created: 2018-05-03T22:41:49.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2021-03-23T15:24:04.000Z (over 4 years ago)
- Last Synced: 2023-03-11T15:57:05.836Z (over 2 years ago)
- Topics: dashboards, golang, gopherjs, isomorphic, remote, teams
- Language: Go
- Homepage:
- Size: 1.15 MB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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

_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=
```## Deploy to Heroku in 5 minutes
### Create new Heroku app
```
$ heroku create --buildpack https://github.com/tonyta/heroku-buildpack-custom-binaries.gitCreating app... done, ⬢
Setting buildpack to https://github.com/tonyta/heroku-buildpack-custom-binaries.git... done
https://.herokuapp.com/ | https://git.heroku.com/.git
```### Provide access to Slack
Now generate a [Slack API Token](https://get.slack.help/hc/en-us/articles/215770388-Creating-and-regenerating-API-tokens) 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="` to the web command in Procfile below.### Deploy Heroku app
```
$ git clone https://git.heroku.com/.git
$ cd
$ 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://.herokuapp.com/`
To upgrade to a newer version, change `0.2.0` to the version number in `.customer_binaries` file and push to heroku.