Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosting psychojs tasks with expfactory #177

Open
SIHranova opened this issue Jan 16, 2024 · 1 comment
Open

Hosting psychojs tasks with expfactory #177

SIHranova opened this issue Jan 16, 2024 · 1 comment

Comments

@SIHranova
Copy link

Hello,

This is not so really an issue but more of a feature request/inquiry.

We have some tasks we developed in psychopy/psychojs which we want to host on our own servers using expfactory. We are able to export an index.html file and run it locally, but when trying to run it on expfactory, we seem not to be able to save the data in a non-hacky sort of way.

@vsoch (or anyone else who attempted this) do you have some experience/advice you can share about integrating psychojs with expfactory?

Thank you in advance for all your help!

@vsoch
Copy link
Member

vsoch commented Jan 16, 2024

It would be possible as look as you have a hook to save data (sending to the server) and then proceed to a next task. I'm not familiar with psychojs but can imagine it working similarly to the most common framework we use here, jsPsych. This is really the most important part: https://github.com/expfactory-experiments/nback-10min-animals/blob/e2b88886097bb02eb1e70a1a5e42e287e9716b18/index.html#L48-L67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants