Skip to content

Commit

Permalink
📝 win install notes as batch file
Browse files Browse the repository at this point in the history
  • Loading branch information
WillForan committed May 10, 2024
1 parent b94f8f1 commit 66a9681
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions WIN_INSTALL.bat
Original file line number Diff line number Diff line change
@@ -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"
1 change: 1 addition & 0 deletions readme.org
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 5 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 66a9681

Please sign in to comment.