Skip to content

Latest commit

 

History

History
106 lines (73 loc) · 2.91 KB

README.md

File metadata and controls

106 lines (73 loc) · 2.91 KB

Master

Develop

Experimenter

A platform to create and administer experiments.

Documentation available here

Prerequisites

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

Installation

  • git clone <repository-url> this repository
  • change into the new directory
  • npm install
  • bower install

Install submodule dependencies

cd lib
git submodule init
git submodule update

Addons development

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.

Running / Development

To login via OSF:

  • create .env file in top directory
  • in .env file include:

First:

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. See dev/data/admins.json for example logins; use:
namespace=experimenter
collection=admins
username=<id>
password=password

Then:

Code Generators

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

Running Tests

  • ember test
  • ember test --server

Building

  • ember build (development)
  • ember build --environment production (production)

Deploying

Specify what it takes to deploy your app.

Further Reading / Useful Links

COS is Hiring!

Want to help save science? Want to get paid to develop free, open source software? Check out our openings!