A platform to create and administer experiments.
Documentation available here
You will need the following things properly installed on your computer.
git clone <repository-url>
this repository- change into the new directory
npm install
bower install
cd lib
git submodule init
git submodule update
The exp-player and exp-models addons live in the lib directory. This is Ember's conventional place for putting in-repo-addons (see package.json also). If you need to develop on either of the exp-* addons, simply do your work in the submodule directory (lib/exp-) and when you're ready commit and push the changes like usual.
To login via OSF:
- create .env file in top directory
- in .env file include:
- OSF_CLIENT_ID="<client ID for staging account>"
- OSF_SCOPE="osf.users.all_read"
- OSF_URL="https://staging-accounts.osf.io"
First:
- make sure jamdb is running, see: https://github.com/CenterForOpenScience/jamdb
- then:
npm run bootstrap
This:
- Makes the experimenter namespace in jamdb.
- Creates an admins collection under the experimenter namespace.
- Configures jamdb to use the schemas from
schemas/*.json
to validate records in the corresponding collections. - Sets up permissions as defined in
dev/permissions.py
- Populates the appropriate collections with the sample data in
dev/data
. Seedev/data/admins.json
for example logins; use:
namespace=experimenter
collection=admins
username=<id>
password=password
Then:
ember server
- Visit your app at http://localhost:4200.
Make use of the many generators for code, try ember help generate
for more details
ember test
ember test --server
ember build
(development)ember build --environment production
(production)
Specify what it takes to deploy your app.
Want to help save science? Want to get paid to develop free, open source software? Check out our openings!