From 66a9681efbd6d970dc579b0ab144423f208ee4d6 Mon Sep 17 00:00:00 2001 From: WillForan Date: Fri, 10 May 2024 16:07:20 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20win=20install=20notes=20as=20bat?= =?UTF-8?q?ch=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- WIN_INSTALL.bat | 13 +++++++++++++ readme.org | 1 + requirements.txt | 5 +++++ 3 files changed, 19 insertions(+) create mode 100644 WIN_INSTALL.bat diff --git a/WIN_INSTALL.bat b/WIN_INSTALL.bat new file mode 100644 index 0000000..7d3e76e --- /dev/null +++ b/WIN_INSTALL.bat @@ -0,0 +1,13 @@ +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" 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)