Skip to content

Commit 7913cd7

Browse files
committed
default suggested port of 8080
1 parent 9016139 commit 7913cd7

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,10 @@ RUN-WITH-POWERSHELL.ps1 on MS Windows). Like this on the command line:
535535
$ ./OPEN-WITH-TERMINAL.sh
536536
INFO: detected 12 local_ncpu_cores, 1 local_ngpu_cards, 31 local_ngigabytes_memory
537537
SongExplorer version: 27 May 2022 b0c7d5b5452c
538-
arthurb-ws2:5006
538+
arthurb-ws2:8080
539539
2020-08-09 09:30:02,377 Starting Bokeh server version 2.0.2 (running on Tornado 6.0.4)
540540
2020-08-09 09:30:02,381 User authentication hooks NOT provided (default user enabled)
541-
2020-08-09 09:30:02,387 Bokeh app running at: http://localhost:5006/gui
541+
2020-08-09 09:30:02,387 Bokeh app running at: http://localhost:8080/gui
542542
2020-08-09 09:30:02,387 Starting Bokeh server with process id: 1189
543543
2020-08-09 09:30:15,054 404 GET /favicon.ico (10.60.1.47) 1.15ms
544544
2020-08-09 09:30:15,054 WebSocket connection opened
@@ -547,8 +547,8 @@ RUN-WITH-POWERSHELL.ps1 on MS Windows). Like this on the command line:
547547
The SongExplorer GUI should automatically open in a new tab of your default
548548
internet browswer. If not, manually navigate to the URL on the line printed
549549
to the terminal immediately below the version information. In the output
550-
above this is "arthurb-ws2:5006", which is my computer's name, but for you
551-
it will be different. If that doesn't work, try "http://localhost:5006/gui".
550+
above this is "arthurb-ws2:8080", which is my computer's name, but for you
551+
it will be different. If that doesn't work, try "http://localhost:8080/gui".
552552

553553
On the left you'll see three empty panels (two large squares side by side and
554554
three wide rectangles underneath) in which the sound recordings are displayed and
@@ -2135,7 +2135,7 @@ Put these definitions in your .bashrc file:
21352135

21362136
export SONGEXPLORER_BIN="singularity exec [--nv] [-B <disk-drive>] \
21372137
[--vm-cpu] [--vm-ram] <path-to-songexplorer_latest.sif>"
2138-
alias songexplorer="$SONGEXPLORER_BIN songexplorer <path-to-configuration.py> 5006"
2138+
alias songexplorer="$SONGEXPLORER_BIN songexplorer <path-to-configuration.py> 8080"
21392139

21402140
To use a copy of the SongExplorer source code outside of the container, set
21412141
SINGULARITYENV_PREPEND_PATH to the full path to SongExplorer's `src` directory in
@@ -2178,8 +2178,8 @@ Put these definitions in your .bashrc file:
21782178
bjarthur/songexplorer"
21792179
alias songexplorer="docker run \
21802180
[-v <disk-drive>] [-u <userid>] [-w <working-directory] \
2181-
-e SONGEXPLORER_BIN -h=`hostname` -p 5006:5006 \
2182-
bjarthur/songexplorer songexplorer <path-to-configuration.py> 5006"
2181+
-e SONGEXPLORER_BIN -h=`hostname` -p 8080:8080 \
2182+
bjarthur/songexplorer songexplorer <path-to-configuration.py> 8080"
21832183

21842184
Add to these definitions any directories you want to access using the `-v`
21852185
flag. You might also need to use the `-u` flag to specify your username

src/gui/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# http://<hostname>:<port>/visualize
55

66
# e.g.
7-
# bokeh serve --allow-websocket-origin=`hostname`:5006 --allow-websocket-origin=localhost:5006 --port 5006 --show /opt/songexplorer/src/visualize.py --args 5000 1 15 40 10 10 8 1200 400 0 #FFFFFF #FF00FF Category10 Viridis256
7+
# bokeh serve --allow-websocket-origin=`hostname`:8080 --allow-websocket-origin=localhost:8080 --port 8080 --show /opt/songexplorer/src/visualize.py --args 5000 1 15 40 10 10 8 1200 400 0 #FFFFFF #FF00FF Category10 Viridis256
88

99
import os
1010
from bokeh.plotting import curdoc

src/songexplorer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# songexplorer <configuration-file> <port>
66
# http://<hostname>:<port>/gui
77

8-
# e.g. songexplorer `pwd`/configuration.py 5006
8+
# e.g. songexplorer `pwd`/configuration.py 8080
99

1010
import os
1111
import sys

0 commit comments

Comments
 (0)