Skip to content

Commit b424937

Browse files
committed
add docker image info for the web version
1 parent 0354648 commit b424937

3 files changed

Lines changed: 18 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Threads: 2
279279
280280
For the ``desktop-based`` application, it is optimized on ``Windows 10`` and ``macOS Big Sur``. ``Ubuntu 18.04.5`` is also tested. For ``Linux`` operating system version below ``Ubuntu 18.04.5`` or equivalent, such as ``Ubuntu 16.04``, ``PyQtWebEngine`` may not work properly. For other versions of operating systems, the ``desktop-based`` application may still work, however, the **layout** of the application may differ.
281281
282-
For the ``web browser-based`` version, we suggest running in ``Linux`` or ``macOS`` environment. If users want to run on ``Windows`` systems, ``Windows 10`` or above is recommended. Users can also use ``docker`` to run the ``web browser-based`` version. However, ``WSL`` is needed to run the docker version on ``Windows 10`` or above.
282+
For the ``web browser-based`` version, we suggest running in ``Linux`` or ``macOS`` environment. If users want to run on ``Windows`` systems, ``Windows 10`` or above is recommended. Users can also use ``docker`` to run the ``web browser-based`` version (see the instruction [here](https://github.com/TF-Chan-Lab/panGraphViewer/blob/main/panGraphViewerWeb/README.md)). However, ``WSL`` is needed to run the docker version on ``Windows 10`` or above.
283283
284284
---
285285

panGraphViewerWeb/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM python:3.7-slim
22

3-
RUN apt-get update && apt-get install build-essential -y
3+
RUN apt-get update && apt-get install build-essential zlib1g-dev libbz2-dev liblzma-dev -y
44

55
# set work directory
66
WORKDIR /usr/src/app

panGraphViewerWeb/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,21 @@ Account: admin
8282
password: abcd1234
8383
```
8484

85+
Here we have also provied a docker image ``pangraphviewerweb`` on docker hub. You may follow the steps below to run the program.
86+
87+
* pull and run the docker image:
88+
```
89+
docker pull rickyma1/pangraphviewerweb
90+
docker run -d -P --name pangraph1 rickyma1/pangraphviewerweb > /dev/null
91+
```
92+
* find the published port:
93+
```
94+
docker port pangraph1 8000
95+
```
96+
3. If the IP address of the machine is 1.2.3.4 (local machine IP address is ``127.0.0.1`` or ``locallhost``), and the published port is 8000, then the url to open the program is:
97+
```
98+
http://1.2.3.4:8000
99+
```
100+
85101
---
86102
Enjoy the use of panGraphViewer!

0 commit comments

Comments
 (0)