So far I have been running jsPsych on heroku+mlab, but I would like to switch to a more automated solution.
Best
--
You received this message because you are subscribed to the Google Groups "jsPsych" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jspsych+u...@googlegroups.com.
To post to this group, send email to jsp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jspsych/8e61518e-52ee-400b-99cb-49a6219a7344%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[...]<head>[...]<script type="text/javascript" src="https://pavlovia.org/run/lib/vendors/jquery-2.2.0.min.js"></script><script type="text/javascript" src="https://pavlovia.org/run/lib/pavlovia-connect-3.0.0b11.js"></script>[...]</head>[...]
[...]/* start the experiment */pavlovia.init();jsPsych.init({timeline: timeline,on_finish: function(data) {jsPsych.data.displayData();pavlovia.finish(data);}});
NB pavlovia.init() takes care of opening a session. pavlovia.finish uploads the experiment results to the server and closes the session. Log messages are written to the console. Errors are captured and displayed in an alert box.5. When a participant runs, their data will be saved in a csv in ./data/ and pushed straight back to the gitlab.pavlovia.org project, so the scientist can then git pull to get it on their desktop 6. If the scientist changes the files and does git push then these are automatically pulled in to the running study (we're talking about providing more control to that process)