CenterForOpenScience/isp

Name: isp

Owner: Center for Open Science

Description: The International Situations Project (ISP) is a cross-cultural study examining the situations people experience and how they behave in those situations.

Created: 2016-01-25 16:54:43.0

Updated: 2018-03-16 13:30:20.0

Pushed: 2018-03-16 13:30:18.0

Homepage:

Size: 1522

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Isp

This README outlines the details of collaborating on this Ember application. A short introduction of this app could easily go here.

Prerequisites

You will need the following things properly installed on your computer.

Installation

Before beginning, you will need to install Yarn, a package manager (like npm).

Install submodule dependencies
ib
submodule init
submodule update

You may need to run the yarn and bower install commands in lib/exp-player and lib/exp-models as well.

Running / Development

Setup instructions are broadly derived from those of the experimenter addon. For most use cases, it should be possible to run against a remote installation of JamDB. The instructions below assume a staging server, https://staging-metadata.osf.io.

To login via OSF:

Then run the ember application:

Trying an experiment

Once the app is started, you will need to log in. Provide a study ID and participant ID. These are human readable strings as defined by the researchers, and are available on request (not committed to Github). There may be different study IDs to test conditions at different times of day.

Adding dependencies on other packages

Sometimes, you will want to install an additional third-party package. In place of npm, this project uses yarn. Most of the commands are the same, but this alternative tool provides a way for two developers to guarantee they are using the same versions of underlying code. (by running yarn install --pure-lockfile) This can help avoid a situation where things break unexpectedly when run on a different computer.

Whenever you choose to update your dependencies (yarn add x or yarn install), make sure that code still runs, then be sure to commit the modified yarn.lock file, which represents the “current known working state” for your app.

Code Generators

Make use of the many generators for code, try ember help generate for more details

Running Tests
Building
Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.