Skip to content

Commit 92b432f

Browse files
authored
Update README.md
1 parent f5862a2 commit 92b432f

File tree

1 file changed

+11
-25
lines changed

1 file changed

+11
-25
lines changed

container/README.md

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ A docker container for the [Wolfram JS Frontend](https://github.com/JerryI/wolfr
1313
3. Start the container (*not by a superuser!*):
1414
For example
1515

16-
```bash
17-
docker run -it \
18-
-v ~/wljs:"/home/wljs/WLJS Notebooks" \
19-
-v ~/wljs/Licensing:/home/wljs/.WolframEngine/Licensing \
20-
-e PUID=$(id -u) \
21-
-e PGID=$(id -g) \
22-
-p 8080:3000 \
23-
--name wljs \
24-
ghcr.io/wljsteam/wolfram-js-frontend:main
25-
```
16+
```bash
17+
docker run -it \
18+
-v wljs_data:/wljs \
19+
-v ~/wljs:"/home/wljs/WLJS Notebooks" \
20+
-v ~/wljs/Licensing:/home/wljs/.WolframEngine/Licensing \
21+
-e PUID=$(id -u) \
22+
-e PGID=$(id -g) \
23+
-p 8080:3000 \
24+
--name wljs \
25+
ghcr.io/wljsteam/wolfram-js-frontend:main
26+
```
2627

2728
You will now be prompted for your Wolfram login information, enter it and wait for the message `Open your browser at http://...`. You can now safely detach from the container using <kbd>Ctrl</kbd>+<kbd>p</kbd> <kbd>Ctrl</kbd>+<kbd>q</kbd> and close your terminal.
2829

@@ -76,21 +77,6 @@ docker run -it \
7677
ghcr.io/wljsteam/wolfram-js-frontend:main
7778
```
7879

79-
## Persistent storage for WLJS configuration
80-
Use named volume to store your configuration, settings and packages updates. Mount `/wljs` path inside the container, for instance
81-
82-
```bash
83-
docker run -it \
84-
-v wljs_data:/wljs \
85-
-v ~/wljs:"/home/wljs/WLJS Notebooks" \
86-
-v ~/wljs/Licensing:/home/wljs/.WolframEngine/Licensing \
87-
-e PUID=$(id -u) \
88-
-e PGID=$(id -g) \
89-
-p 8080:3000 \
90-
--name wljs \
91-
ghcr.io/wljsteam/wolfram-js-frontend:main
92-
```
93-
9480
***Note***
9581
To update WLJS Notebook image, please, remove named volume `wljs_data` as well. Otherwise some packages may appear to be outdated
9682

0 commit comments

Comments
 (0)