Skip to content

Commit c47844f

Browse files
authored
Merge pull request #27 from vncntprvst/SI-container
updates SI container image to spikeinterface-jupyterlab
2 parents 84b5df6 + 42cbf6a commit c47844f

9 files changed

Lines changed: 11 additions & 11 deletions

File tree

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ Files can be downloaded with right-click > download.
2020
2. Start the container
2121
*On Linux/MacOS*
2222
`export JUPYTER_TOKEN='mytoken'`
23-
`docker run -d --rm --name spikeinterface -v "${PWD}":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN spikeinterface/spikeinterface:0.2`
23+
`docker run -d --rm --name spikeinterface-jupyterlab -v "${PWD}":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN spikeinterface/spikeinterface-jupyterlab:0.2`
2424
*On Windows*
2525
`set JUPYTER_TOKEN=mytoken`
26-
`docker run -d --rm --name spikeinterface -v "%CD%":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN spikeinterface/spikeinterface:0.2`
26+
`docker run -d --rm --name spikeinterface-jupyterlab -v "%CD%":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN spikeinterface/spikeinterface-jupyterlab:0.2`
2727

2828
* Replace "mytoken" by some other word.
2929
* If you built the image (see below), remove `spikeinterface/` or replace it with your docker handle.
@@ -41,7 +41,7 @@ The container image is [available on DockerHub](https://hub.docker.com/repositor
4141

4242
If you want to build it, follow the instructions below.
4343
Open a terminal, navigate to the spikeinterface directory, then run:
44-
`docker build -t spikeinterface:0.2 .`
44+
`docker build -t spikeinterface-jupyterlab:0.2 .`
4545
On Linux systems, you can also use the build script (after making it executable `chmod +x build.sh`):
4646
`./build.sh`
4747

spikeinterface-jupyterlab/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
docker build -t spikeinterface/spikeinterface-jupyterlab:0.2 .
File renamed without changes.

spikeinterface/launch_scripts/SpikeInterface_OneOff.bat renamed to spikeinterface-jupyterlab/launch_scripts/SpikeInterface_OneOff.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Title Drag and drop a data folder
33
Mode con cols=60 lines=3
44
IF [%1] EQU [] Goto:Error
55
set JUPYTER_TOKEN=mytoken
6-
docker run -d --rm --name spikeinterface -v "%~1":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN spikeinterface/spikeinterface:0.2
6+
docker run -d --rm --name spikeinterface-jupyterlab -v "%~1":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN spikeinterface/spikeinterface-jupyterlab:0.2
77
TIMEOUT /T 2
88
START /W "" http://localhost:8888/lab?token=mytoken
99
ECHO Spike Interface started

spikeinterface/launch_scripts/SpikeInterface_Persist.bat renamed to spikeinterface-jupyterlab/launch_scripts/SpikeInterface_Persist.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Title Drag and drop a data folder
33
Mode con cols=60 lines=3
44
IF [%1] EQU [] Goto:Error
55
set JUPYTER_TOKEN=mytoken
6-
docker run -d --rm --name spikeinterface -v "%~1":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN spikeinterface/spikeinterface:0.2
6+
docker run -d --rm --name spikeinterface -v "%~1":/home/jovyan/data -p 8888:8888 -e JUPYTER_TOKEN spikeinterface/spikeinterface-jupyterlab:0.2
77
TIMEOUT /T 2
88
START /W "" http://localhost:8888/lab?token=mytoken
99
ECHO Spike Interface started

spikeinterface-jupyterlab/push.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
docker push spikeinterface/spikeinterface-jupyterlab:0.2 .

spikeinterface/build.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

spikeinterface/push.sh

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)