Skip to content

OpenHumans/DIYExperiments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Run DIYExperiments with Open Humans

Heavily WIP

Local deployment

pip install pipenv
brew install redis
git clone [email protected]:OpenHumans/DIYExperiments.git
cd DIYExperiments
pipenv install --dev
pipenv run ./manage.py runserver

Follow some general instructions here.

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:

brew install redis
redis-server

About

run small DIY experiments through Open Humans

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published