{"id":24562637,"url":"https://github.com/humanbrainproject/collaboratory_app","last_synced_at":"2026-01-03T21:06:56.815Z","repository":{"id":74588407,"uuid":"49454495","full_name":"HumanBrainProject/collaboratory_app","owner":"HumanBrainProject","description":"Collaboratory App Template for the CodeJam7","archived":false,"fork":false,"pushed_at":"2016-01-12T15:32:12.000Z","size":2545,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-01-23T09:16:35.495Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HumanBrainProject.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-11T21:07:57.000Z","updated_at":"2016-09-14T13:16:47.000Z","dependencies_parsed_at":"2023-05-14T20:00:42.165Z","dependency_job_id":null,"html_url":"https://github.com/HumanBrainProject/collaboratory_app","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/HumanBrainProject%2Fcollaboratory_app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fcollaboratory_app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fcollaboratory_app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HumanBrainProject%2Fcollaboratory_app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HumanBrainProject","download_url":"https://codeload.github.com/HumanBrainProject/collaboratory_app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243945623,"owners_count":20372897,"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":[],"created_at":"2025-01-23T09:16:39.271Z","updated_at":"2026-01-03T21:06:56.778Z","avatar_url":"https://github.com/HumanBrainProject.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Collaboratory App Example\n\n## Up and running\n\n### Install your environment\n\n```bash\nvirtualenv venv\n. venv/bin/activate\npip install -r requirements.txt\n```\n\n### Trust SSL certificate\n\nYou also need to *trust the SSL certificate* in\nssl/localhost.crt. Even better is to replace it with your own.  The\nprocedure for generating a self-signed certificate is readily\navailable on-line.\n\n### Create a new HBP OpenID Connect client\n\nThe OpenID Connect Client Manager can be found in the Collaboratory at this url:\n\nhttps://collab.humanbrainproject.eu/#/collab/54/nav/1051\n\nWhen configuring you test client.\n1. Pick a meaningful name (probably something related to your App name)\n1. Select 'Server flow' application type\n1. Add to 'Authorized redirect URL' a local testing url: ```https://localhost:8000/complete/hbp/```\n1. Ensure that the scopes hbp.collab, hbp.document and hbp.notification.self are checked.\n1. Save your client registration\n\nSave the \"Client ID\" and \"Client Secret\" values for the next step.\n\n### Define your environment\n\nCopy .env-sample to .env\n\nReplace SECRET_KEY with the output of the following command:\n\nOSX:\n```bash\ndate | md5\n```\nLinux or Cygwin:\n```bash\ndate | md5sum\n```\n\nReplace `HBP_OIDC_CLIENT*` with the data collected from the OpenID Connect Client Manager in the previous step.\n\n\n```bash\ncp .env-sample .env\n```\n\n### Create the database\n\nYou can now run the migration in order to bootstrap the database.\n\n```bash\npython manage.py migrate\n```\n\n### Start the server\n\nYou can then start the server\n\n```bash\npython manage.py runsslserver --certificate=ssl/localhost.crt --key=ssl/localhost.key\n```\n\n### Start the server\nFrom another terminal open an example URL to test your new app:\n\nOSX:\n```bash\nopen https://localhost:8000?ctx=2BB5C05D-C417-4ED7-8D4D-C4F940DA8328\n```\n\nLinux:\n```bash\nxdg-open https://localhost:8000?ctx=2BB5C05D-C417-4ED7-8D4D-C4F940DA8328\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanbrainproject%2Fcollaboratory_app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhumanbrainproject%2Fcollaboratory_app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhumanbrainproject%2Fcollaboratory_app/lists"}