-
Notifications
You must be signed in to change notification settings - Fork 1
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.
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, described here:
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.
We can take a closer look inside the static folder to see exactly what it contains.
css- a folder containing the
cssstyle-sheets that describe how the HTML should be presented (e.g. layout, color, font, etc) favicon.ico- the little icon that appears next to the URL in the browser window.
fonts- a folder containing the fonts that are used.
js- a folder containing the javascript libraries required for the experiment.
util.jsare some functions that support psiTurk andjsPsychis the javascript library for building psychology experiments. lib- a folder containing all of the external javascript libraries needed by psiTurk.
stimuli- a folder containing all of the stimuli that will be used by your experiment. (This is the only folder in the
staticfolder that you need to make changes to.
config.txtad.htmlconsent.htmlcomplete.htmldefault.htmlerror.htmlthanks.html


