Skip to content

Modify the psiTurk templates

Kathryn Schuler edited this page Jul 6, 2016 · 35 revisions

The next step is to modify the psiTurk templates for use with your experiment.

  1. Anatomy of a psiTurk project
  2. Modifying the psiTurk templates

Anatomy of a psiTurk project

Every turkAGL experiment template is a psiTurk project. When you open a psiTurk project, you will see the following files and folders:

Each of these files and folders contains important aspects of your psiTurk experiment.

  • config.txt
  • a local configuration file that contains the unique settings for an individual experiment.
  • participants.db
  • psiTurk will create this SQLLite database (if you do not already see it in your folder) for storing data
  • server.log
  • psiTurk creates a server process log the first time you run the server. It contains error messages and warnings (the psiTurk web server process will not print to the Terminal).
  • static
  • a folder that holds files which are not dynamically altered by the psiTurk server (e.g. images, fonts, javascript libraries, css sheets, etc)
  • templates
  • a folder that holds the HTML templates for different parts of your experiment, which are dynamically updated by the psiTurk server.

Modifying the psiTurk templates

  1. config.txt
  2. ad.html
  3. consent.html
  4. complete.html
  5. default.html
  6. error.html
  7. thanks.html

config.txt

Clone this wiki locally