{"id":22147263,"url":"https://github.com/centerforopenscience/isp","last_synced_at":"2025-07-04T13:06:39.005Z","repository":{"id":136988408,"uuid":"50365703","full_name":"CenterForOpenScience/isp","owner":"CenterForOpenScience","description":"The International Situations Project (ISP) is a cross-cultural study examining the situations people experience and how they behave in those situations.","archived":false,"fork":false,"pushed_at":"2018-03-16T13:30:18.000Z","size":1522,"stargazers_count":3,"open_issues_count":0,"forks_count":14,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-06-22T22:05:43.357Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CenterForOpenScience.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"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,"zenodo":null}},"created_at":"2016-01-25T16:54:43.000Z","updated_at":"2018-03-16T13:30:20.000Z","dependencies_parsed_at":null,"dependency_job_id":"8b373073-51a1-4137-8c38-0198178f7cd6","html_url":"https://github.com/CenterForOpenScience/isp","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/CenterForOpenScience/isp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fisp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fisp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fisp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fisp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CenterForOpenScience","download_url":"https://codeload.github.com/CenterForOpenScience/isp/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CenterForOpenScience%2Fisp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263548654,"owners_count":23478808,"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":"2024-12-01T23:15:42.096Z","updated_at":"2025-07-04T13:06:38.990Z","avatar_url":"https://github.com/CenterForOpenScience.png","language":"JavaScript","readme":"# Isp\n\nThis README outlines the details of collaborating on this Ember application.\nA short introduction of this app could easily go here.\n\n## Prerequisites\n\nYou will need the following things properly installed on your computer.\n\n* [Git](http://git-scm.com/)\n* [Node.js](http://nodejs.org/) (with NPM)\n* [Bower](http://bower.io/)\n* [Ember CLI](http://ember-cli.com/)\n* [PhantomJS](http://phantomjs.org/)\n\n## Installation\nBefore beginning, you will need to install [Yarn](https://yarnpkg.com/en/docs/install), a package manager (like npm). \n\n* `git clone \u003crepository-url\u003e` this repository\n* change into the new directory\n* `yarn install --pure-lockfile`\n* `bower install`\n\n### Install submodule dependencies\n\n```bash\ncd lib\ngit submodule init\ngit submodule update\n```\n\nYou may need to run the yarn and bower install commands in `lib/exp-player` and `lib/exp-models` as well.\n\n## Running / Development\n\nSetup instructions are broadly derived from those of the [experimenter addon](https://github.com/CenterForOpenScience/experimenter/). \nFor most use cases, it should be possible to run against a remote installation of JamDB. The instructions below assume a staging server, \n`https://staging-metadata.osf.io`.\n\nTo login via OSF:\n* create .env file in top directory\n* in .env file include:\n  * OSF_CLIENT_ID=\\\u003cclient ID for staging account\\\u003e\n  * OSF_SCOPE=\"osf.users.all_read\"\n  * OSF_URL=\"https://staging.osf.io\"\n  * OSF_AUTH_URL=https://staging-accounts.osf.io\n  * JAMDB_URL=https://staging-metadata.osf.io\n  * EXPERIMENT_ID=\\\u003cjam db document ID referencing the desired ISP study\\\u003e\n  * USE_UNRELEASED_TRANSLATIONS=\u003ctrue|false\u003e\n\n* Find jam db document id at: https://staging-experimenter.osf.io/experiments/ (this is the EXPERIMENT_ID)\n* Create a new participant at https://staging-experimenter.osf.io/participants\n  * Study ID: test\n  * Participant ID: \u003clook in the downloaded csv file\u003e\n\nThen run the ember application:\n\n* `ember server`\n* Visit your app at [http://localhost:4200](http://localhost:4200).\n\n### Trying an experiment\nOnce the app is started, you will need to log in. Provide a study ID and participant ID. \nThese are human readable strings as defined by the researchers, and are available on request (not committed to Github). \nThere may be different study IDs to test conditions at different times of day.\n\n### Adding dependencies on other packages\nSometimes, you will want to install an additional third-party package. In place of npm, this project uses `yarn`. \nMost of the [commands](https://yarnpkg.com/en/docs/managing-dependencies) are the same, but this alternative tool \nprovides a way for two developers to guarantee they are using the same versions of underlying code. (by running \n`yarn install --pure-lockfile`) This can help avoid a situation where things break unexpectedly when run on a different \ncomputer.\n\nWhenever you choose to update your dependencies (`yarn add x` or `yarn install`), make sure that code still runs, then\nbe sure to [commit](https://yarnpkg.com/en/docs/yarn-lock) the modified `yarn.lock` file, which represents the \"current \nknown working state\" for your app. \n\n\n### Code Generators\n\nMake use of the many generators for code, try `ember help generate` for more details\n\n### Running Tests\n\n* `ember test`\n* `ember test --server`\n\n### Building\n\n* `ember build` (development)\n* `ember build --environment production` (production)\n\n### Deploying\n\nSpecify what it takes to deploy your app.\n\n## Further Reading / Useful Links\n\n* [ember.js](http://emberjs.com/)\n* [ember-cli](http://ember-cli.com/)\n* Development Browser Extensions\n  * [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)\n  * [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenterforopenscience%2Fisp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcenterforopenscience%2Fisp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcenterforopenscience%2Fisp/lists"}