This repository has been archived by the owner. It is now read-only.
Correlate your Steam activity with your Fitbit activity.
JavaScript CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
build
docs
src
tools
.babelrc
.csscomb.json
.csslintrc
.editorconfig
.eslintrc
.flowconfig
.gitattributes
.gitignore
.jscsrc
.npmignore
.travis.yml
CHANGELOG.md
LICENSE.txt
README.md
package.json
preprocessor.js
screenshot.png

README.md

SteamFit

Correlate your Steam activity with your Fitbit activity.

Screenshot

How to Develop

I'm using the following versions:

% node --version
v5.3.0
% npm --version
3.3.12

Register a Fitbit application. Set your 'OAuth 2.0 Application Type' to 'Client'. Set your 'Callback URL' to http://localhost:3000/auth. 'Default Access Type' should be 'Read-Only'.

Get a Steam Web API Key.

cp src/env.sh.example src/env.sh

Customize src/env.sh.

npm install
npm start

Visit localhost:3000.

How to Deploy to Heroku

  1. Add an app on heroku.com.
  2. heroku git:remote -a your_heroku_app_name
  3. heroku config:set STEAM_API_KEY="your Steam Web API Key"
  4. heroku config:set FITBIT_CLIENT_ID="your Fitbit OAuth 2.0 client ID"
  5. npm run build
  6. git add build/ && git commit -m "Update build/"
  7. git subtree push --prefix build heroku master