Skip to content

Commit c077701

Browse files
committed
adds persistent container launch script
1 parent a5b1df6 commit c077701

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
@echo off
2+
Title Drag and drop a data folder
3+
Mode con cols=60 lines=3
4+
IF [%1] EQU [] Goto:Error
5+
set JUPYTER_TOKEN=mytoken
6+
docker run -d --rm --name spikeinterface -v "%~1":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN wanglabneuro/spikeinterface:0.2
7+
TIMEOUT /T 2
8+
START /W "" http://localhost:8888/lab?token=mytoken
9+
ECHO Spike Interface started
10+
TIMEOUT /T 2
11+
Exit /b
12+
13+
::**********************************************************
14+
:Error
15+
Color 0C & echo(
16+
ECHO You must drag and drop a folder on this batch program
17+
Timeout /T 5 /NoBreak >nul
18+
Exit /b
19+
::**********************************************************

0 commit comments

Comments
 (0)