{"id":13929983,"url":"https://github.com/OpenHumans/open-humans","last_synced_at":"2025-07-19T12:31:18.725Z","repository":{"id":18704199,"uuid":"21914595","full_name":"OpenHumans/open-humans","owner":"OpenHumans","description":"Powering openhumans.org","archived":false,"fork":false,"pushed_at":"2024-09-07T08:02:10.000Z","size":20492,"stargazers_count":71,"open_issues_count":87,"forks_count":21,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-09-07T09:22:22.226Z","etag":null,"topics":["citizen-science","community-science","quantified-self","quantifiedself"],"latest_commit_sha":null,"homepage":"https://www.openhumans.org/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenHumans.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-07-16T19:44:07.000Z","updated_at":"2024-09-07T08:02:13.000Z","dependencies_parsed_at":"2024-07-11T19:02:54.401Z","dependency_job_id":"13ed2fa2-0678-4f4d-8859-f7918353be9a","html_url":"https://github.com/OpenHumans/open-humans","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHumans%2Fopen-humans","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHumans%2Fopen-humans/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHumans%2Fopen-humans/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenHumans%2Fopen-humans/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenHumans","download_url":"https://codeload.github.com/OpenHumans/open-humans/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226607571,"owners_count":17658474,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["citizen-science","community-science","quantified-self","quantifiedself"],"created_at":"2024-08-07T18:02:39.565Z","updated_at":"2024-11-26T19:30:43.766Z","avatar_url":"https://github.com/OpenHumans.png","language":"Python","readme":"## open-humans\n\n[![Codeship Status for OpenHumans/open-humans](https://codeship.com/projects/6f9dcd90-1b67-0132-e696-7e09bcd93b6c/status)](https://codeship.com/projects/34928)\n[![codecov.io](https://codecov.io/github/OpenHumans/open-humans/coverage.svg?branch=master)](https://codecov.io/github/OpenHumans/open-humans?branch=master)\n\nThis repository contains the code for the [Open Humans\nWebsite](http://openhumans.org/).\n\n### The local development environment\n\n#### dependencies\n\n- python \u003e=3.6\n- pip3\n- virtualenv (`pip3 install virtualenv`)\n- nodejs 6.x\n- npm 3.x\n- libffi (`apt-get install libffi-dev` in Debian/Ubuntu or `brew install libffi` in OSX)\n- libpq (`apt-get install libpq` in Debian/Ubuntu or `brew install libpq` in OSX)\n- postgres (`apt-get install libpq-dev python3-dev` and\n  `apt-get install postgresql postgresql-contrib` in Debian/Ubuntu)\n- memcached (`apt-get install memcached libmemcached-dev` or `brew install memcached`)\n- [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver/) for\n  Selenium tests\n\n[live-reload]: https://chrome.google.com/webstore/detail/livereload/jnihajbhpnppcggbcgedagnkighmdlei\n\n#### virtualenv\n\nFor the following commands, you'll also want to set up virtualenvwrapper:\n- `pip3 install virtualenvwrapper`\n- Follow setup instructions here (e.g. modify your `.bashrc` as needed): http://virtualenvwrapper.readthedocs.io/en/latest/install.html\n\nCreate a virtualenv for Python 3.6, e.g.:\n- `mkvirtualenv open-humans --python=/usr/bin/python3.6`\n- `pip3 install -r requirements.txt -r dev-requirements.txt`\n\nIn the future, start the virtual environment with:\n- `workon open-humans`\n\nAnd update it after pulling updated code by repeating:\n- `pip3 install -r requirements.txt -r dev-requirements.txt`\n\n#### node.js dependencies (primarily for `gulp`)\n\n- `npm install -g gulp`\n- `npm install`\n\nUpdate after pulling updated code by repeating:\n- `npm install`\n\n#### create your postgres database\n\nRunning this site requires a PostgreSQL database (even for local development).\n\n- In Debian/Ubuntu\n  - Become the postgres user: `sudo su - postgres`\n  - Create a database (example name 'mydb'): `createdb mydb`\n  - Create a user (example user 'jdoe'): `createuser -P jdoe`\n  - Enter the password at prompt (example password: 'pa55wd')\n  - run PostgreSQL command line: `psql`\n    - Give this user privileges on this database, e.g.:\u003cbr\u003e\n      `GRANT ALL PRIVILEGES ON DATABASE mydb TO jdoe;`\n    - Also allow this user to create new databases (needed for running tests),\n      e.g.:\u003cbr\u003e\n      `ALTER USER jdoe CREATEDB;`\n    - Quit: `\\q`\n  - Exit postgres user login: `exit`\n\n#### Set up environment settings\n\nUse `env.example` as a starting point. Copy this to `.env` and modify with your\nown settings.\n\n#### Initialize or update the database\n\nDo this at the beginning, and update when pulling updated code by running:\n\n- `./manage.py migrate`\n\n#### Additional setup\n\nFor additional setup information see [docs/SETUP.md](docs/SETUP.md).\n\n#### Running the development server\n\n- `./manage.py runserver`\n\n#### Running tests\n\nYou need to process static files before you can run tests.\n\n1. `./manage.py collectstatic`\n2. `./manage.py test`\n\n#### Linting \u0026 formatting\n\nPlease use `black` to format code prior to commits. Set up a\npre-commit hook by running the following:\n\n1. `pre-commit install`\n","funding_links":[],"categories":["others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenHumans%2Fopen-humans","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FOpenHumans%2Fopen-humans","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FOpenHumans%2Fopen-humans/lists"}