The next steps assume you have the proper format on your spreadsheet (if not, refer to https://github.com/prosodylab/prosodylab-experimenter/blob/master/instructions.Rmd).
The only addition to your spreadsheet is a column titled "Controller." Put the value "QAJ" if you'd like an audio experiment and "AJ" if you'd like an audio-less experiment.
All actions below are assumed to be done on your local machine, unless otherwise stated.
python convert.py originalExperimentFile.txt dataFileName.js
scp dataFileName.js experiment@prosodylab.cs.mcgill.ca:~/public_html/
ssh experiment@prosodylab.cs.mcgill.ca
sh setup.sh experimentName dataFileName.js
Further configuration can be done, i.e. SCP-ing audio files for audio experiments. For example, navigate to the file containing the audio files and:
scp *.wav experiment@prosodylab.cs.mcgill.ca:~/public_html/experimentName/chunk_includes
scp instruc.html experiment@prosodylab.cs.mcgill.ca:~/public_html/experimentName/chunk_includes
http://prosodylab.cs.mcgill.ca/~experiment/experimentName/www/experiment.html
scp experiment@prosodylab.cs.mcgill.ca:~/public_html/experimentName/results/results.txt ./expresults.txt
python combine.py originalExperimentFile.txt expresults.txt processedresults.txt
If server.cgi is where the issue is arising, add a sys.stderr.write() statement, and you can see the output of this statement at /var/log/apache2/prosodylab.error.log
If any javascript file is the issue, use console.log and check the console on your browser.
Be /very/ careful about permissions, this is the issue for server problems a good deal of the time. Also try to check paths very carefully with print statements, as this is another silly issue that can occur very easily. Otherwise, in case of more serious server mistakes, check with the CS server administrators.