Jatos offline
Hello everyone!
Thank you for this wonderful tool. I have heard about it just recently and couldn't be happier.
I have installed it on AWS like it was described in the tutorial. I uploaded my experiment and it worked. I have sent it to a colleague and turned off my computer. He couldn't reach the site with the experiment. But when I logged in to my Jatos account again, he could do it.
Does this mean my desktop computer has to work all the time so others can do the experiment?
I'm a bit confused. I must also say I'm not that versatile with computers.
Thanks a lot!
Best,
Ivan
Comments
Hi Ivan,
If you installed JATOS on AWS (or any other cloud vendor) it runs independent of your local computer (even if you have a JATOS installed on your local computer too). So turning off your local computer has no effect on your JATOS running on AWS. That means I'm similar confused as you are. Are you sure you gave your colleague the correct IP from your AWS server?
Best,
Kristian
Hi Kristian!
Thanks for your answer.
I gave him the address Jatos gave me to send to participants. It starts with my public IP from AWS.
My colleague could access the experiment only when I started loader.sh on my machine. When I exited the terminal, he couldn't access the experiment any more.
I was confused at the first glance as well because I taught I should work while I'm offline.
Best regards
Ivan
Hi Ivan,
I think I understand: you close the terminal to your remote server (on AWS) and in this terminal you started JATOS, right? If you close a terminal all processes (including the JATOS one) are terminated. You need some kind of auto-start like described here http://www.jatos.org/JATOS-on-a-server.html#9-optional-auto-start-jatos. But I'd rather recommend using Digital Ocean instead of AWS because there JATOS is much easier to set up (http://www.jatos.org/JATOS-on-DigitalOcean.html).
Best,
Kristian
Hello Kristian!
Thank you for your suggestion.
You got it right. I started JATOS in that terminal and when I closed it, everything stopped.
I've read both articles. I'd like to try it first with AWS since I already have it. If I want to use AWS I have to install JATOS on my local machine so I could add the path and my JATOS user name to it according to the tutorial on the site you proceeded or should I do these steps while I'm logged in via
ssh? I suppose I have to do it all as root.Sorry for bothering.
Best regards,
Ivan
Hi Ivan,
If I want to use AWS I have to install JATOS on my local machine so I could add the path to it according to the tutorial on the site you proceeded
I don't understand this part. You don't need to install JATOS on your local computer in order to install it on AWS. The AWS instance runs independently of you local one. But usually people install a local JATOS to set up/program/try out their study locally. On their local computers they have much easier access to the file system and since your study's files (assets called in JATOS) are stored in the file system, editing them is a major part in study development.
To set up JATOS on your AWS instance with auto-start you have to log in via SSH (or AWS console) and follow the points in the docs (http://www.jatos.org/JATOS-on-a-server.html#9-optional-auto-start-jatos).
Best,
Kristian
Hi Kristian!
Thanks a lot.
All worked out good.
Thank you for your time and help.
Best regards,
Ivan
Nice! :D