GithubHelp home page GithubHelp logo

timshell / psirokuturk Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fredcallaway/heroku-experiment

0.0 1.0 0.0 8.23 MB

Starter kit for running a psiturk experiment on heroku with jspsych.

Home Page: http://salty-meadow-30207.herokuapp.com/

License: MIT License

Makefile 0.02% Python 3.01% HTML 7.68% CSS 1.69% JavaScript 87.60%

psirokuturk's Introduction

Psirokuturk

A starter pack for running online experiments with Psiturk on Heroku.

Requirements

This project works with Python 3. Install requirements with

pip install -r requirements.txt

You can run experiment code in a number of ways:

Heroku Setup & Customization

  1. Clone this repository
  2. Create a Heroku account and install the Heroku toolbelt
  3. Create a new app and add a Postgres database
    heroku create YOUR_APP_NAME --buildpack heroku/python
    heroku git:remote -a YOUR_APP_NAME
    heroku addons:create heroku-postgresql
  1. Add university-specific information in the template. Check templates/ad.html, templates/error.html, and config.txt for any mention of "Bodacious" University and replace with a more appropriate reference. You should also put your IRB-approved consent form in templates/consent.html.

  2. Once you've made your changes and committed, you can push to Heroku with the following command:

    git push heroku master

Usage

Post HITs

Start the psiturk shell with the command psiturk. Run hit create 30 1.50 0.5 to create 30 hits, each of which pays $1.50 and has a 30 minute time limit. You'll get a warning about your server not running. You are using an external server process, so you can press y to bypass the error message.

Contributors

  • Fred Callaway
  • Carlos Correa

psirokuturk's People

Contributors

cgc avatar fredcallaway avatar sophieshangfei avatar timshell avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.