fredcallaway / heroku-experiment

Starter kit for running a psiturk experiment on heroku with jspsych.
http://salty-meadow-30207.herokuapp.com/
MIT License
7 stars 9 forks source link

Remove psiturk.js #4

Closed cgc closed 3 years ago

cgc commented 4 years ago

Psiturk docs state that the psiturk.js static file is actually generated, not read from the filesystem:

Q: Where is the /static/js/psiturk.js file? It doesn't appear in any of the experiments I have downloaded! A: psiturk.js doesn’t actually “exists” as a file in the static folder of any project. Instead, the psiturk server/command line tool automatically generates this file. The best way to view it is by “view source” in your browser while debugging your experiment. While somewhat unintuitive, this ensures that changes to psiturk.js are linked to new versions of the overall psiturk command line tool (since they are tightly interdependent).

https://github.com/NYUCCL/psiTurk/blob/c847801e9c02a9aa16a70407e91de5d0d2ac21f3/doc/faq.rst#where-is-the-staticjspsiturkjs-file--it-doesnt-appear-in-any-of-the-experiments-i-have-downloaded