Correlate your Steam activity with your Fitbit activity.
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.
- Add an app on heroku.com.
heroku git:remote -a your_heroku_app_name
heroku config:set STEAM_API_KEY="your Steam Web API Key"
heroku config:set FITBIT_CLIENT_ID="your Fitbit OAuth 2.0 client ID"
npm run build
git add build/ && git commit -m "Update build/"
git subtree push --prefix build heroku master