Server setup issues

PennController for IBEX Forums Support Server setup issues

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6204
    penn_baby_lab
    Participant

    Hi! We’ve been trying to setup a server. We began by following the instructions on this page, for setting up the server and step-by-step CGI:
    https://github.com/addrummond/ibex/blob/master/docs/manual.md
    When that was completed, we used terminal to connect to our server via SSH and followed the instructions on this page to try to run server.py and mkdist.sh:
    https://github.com/addrummond/ibex/blob/master/README
    The python file ran fine, but the shell file threw a list of errors listing all the files and folders in its directory followed by “cannot stat: no such file or directory”
    Is our approach to setting up the server correct? Are there any steps we omitted? and if not, how to we fix the errors from the shell script?
    Our server is being hosted on Dreamhost. Thanks so much!

    #6208
    Jeremy
    Keymaster

    Hi,

    I’ve never needed to run mkdist.sh when setting up a CGI server, so you can probably just stop that process and not worry about the errors it returns. As long as the python file runs fine and you’re able to run your experiment and collect data, your setup should be configured properly.

    That being said, I’ve never had to manually run the python file myself either. You’re on Dreamhost, so your webserver should be apache, and it should already be configured to run CGI scripts. If not, search something like “apache CGI” and you should find some relevant documentation—when everything’s set up, simply visiting the experiment.html file of your experiment automatically runs server.py in the background. For what it’s worth, I don’t think I’ve ever read that README, so I’m not sure how relevant it is

    Jeremy

    • This reply was modified 3 years, 6 months ago by Jeremy.
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.