diff --git a/WIN_INSTALL.bat b/WIN_INSTALL.bat new file mode 100644 index 0000000..ee91173 --- /dev/null +++ b/WIN_INSTALL.bat @@ -0,0 +1,17 @@ +Rem +Rem Install extra bits after psychopy and git clone +Rem + +Rem location of psychopy, reusing it's python interpreter +set PYTHON=C:\Program Files\PsychoPy\python.exe + +Rem install 'tornado' and 'pynput' +"%PYTHON%" -m pip install -r requirements.txt +echo you might also need python packages: pyxid2 for Cedrus OR usb_1208FS and RTBox for sEEG + +Rem get psiclj for saving to sqlite database +powershell -Command "Invoke-WebRequest https://github.com/LabNeuroCogDevel/psiclj/releases/download/v0.2.3/psiclj.exe -OutFile psiclj.exe" + +Rem out is symlinked but that doesn't work on windows +echo remove out/audio/ out/images out/style.css +echo xcopy resources/public/* out/ diff --git a/readme.org b/readme.org index a969a15..17484e6 100644 --- a/readme.org +++ b/readme.org @@ -13,6 +13,7 @@ * clone and open out/index.html to start the task in a web browser (responses not saved). * NB. for where=mri and where=eeg, task ends presents "Download Data" with link to json file that can be saved locally/manually. * save [[https://github.com/LabNeuroCogDevel/psiclj][psiclj]] ([[https://github.com/LabNeuroCogDevel/psiclj/releases/download/v0.2.3/psiclj.jar][.jar]] or [[https://github.com/LabNeuroCogDevel/psiclj/releases/download/v0.2.3/psiclj.exe][.exe]]) in the root directory and launch as a local service to save to a sqlite3 file. (e.g. [[https://github.com/LabNeuroCogDevel/choice-landscape/blob/master/loeffeeg.bat][loeffeeg.bat]]) + * See [[./WIN_INSTALL.bat]] for help with Windows (after installing [[https://www.psychopy.org/download.html][psychopy]]) ** Heroku Using [[./Procfile][Procfile]] on heroku w/ ~addon:heroku-postgres~ and https://github.com/LabNeuroCogDevel/psiclj buildpack diff --git a/requirements.txt b/requirements.txt index 014886a..45f883b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,8 @@ # git+https://github.com/psychopy/psychopy tornado pynput + +# other modules: +# pyxid2 # Cedrus response box (loef EEG) +# usb_1208FS # DAQ (sEEG) +# RTBox # RTBox response box (sEEG)