No description, website, or topics provided.
Switch branches/tags
Clone or download
Latest commit 1ceb36a Dec 12, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
fitbit_app first code version Nov 13, 2018
main remove personal API junk Dec 13, 2018
static remove personal API junk Dec 13, 2018
.gitignore Add .idea to gitignore Dec 12, 2018
Pipfile fitbit intraday update works for HR Nov 14, 2018
Pipfile.lock fitbit intraday update works for HR Nov 14, 2018
Procfile first code version Nov 13, 2018
README.md Fix formatting Dec 12, 2018
manage.py first code version Nov 13, 2018

README.md

Integrate Fitbit Intraday Access into Open Humans

Heavily WIP

Local deployment

Follow the instructions here

Additional steps required are below.

Open Humans Project Redirect Url

Set the redirect url to http://127.0.0.1:5000/openhumans/complete when creating your project on open humans. When the project is live you'll need to change it to the heroku url.

Env file

Make sure to set the following vars. The client id and secret is created here.

OPENHUMANS_CLIENT_ID=your_client_id
OPENHUMANS_CLIENT_SECRET=your_client_secret
OPENHUMANS_APP_BASE_URL=http://127.0.0.1:5000

Redis

Before doing heroku local, need to have a redis instance running locally. One way to do that is:

docker run --name some-redis -p 6379:6379 -d redis