Elicit experiment is a system for creating psychological studies, presenting them to subject and gathering the results.
Installation instructions are found here.
Follow the instructions in INSTALL.md to create a local .env file.
docker-compose up -d redis postgresThere are 3 separate servers required: the API, the admin/participant frontend and the experiment frontend.
docker-compose --env-file .env.production.local up -d --buildbundle install
bundle exec rails s -b 0.0.0.0
bin/webpack-dev-serverpushd docker/experiment-frontend
npm install
gulp build
gulp servebundle exec erd
RAILS_ENV=development ./redb.sh
DISABLE_DATABASE_ENVIRONMENT_CHECK=1 RAILS_ENV=production ./redb.sh
docker exec api bash -e DISABLE_DATABASE_ENVIRONMENT_CHECK=1 ./redb.sh
- anonymous is all auto-created; with or without identifier
- registered is either a fixed set of existing users, or N registered users of any kind
bin/rails test 2>&1 | ggrep -P -i -C3 'error|fail'