Skip to content

Commit

Permalink
Corrected README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikita-Smirnov-Exactpro committed Jun 7, 2024
1 parent 002b289 commit 0712c13
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,27 @@ Installation example:
!{sys.executable} -m pip install <package_name>==<package_version>
```

## local run

### run th2-rpt-viewer, th2-json-provider, jupyter-notebook are proxied by nginx

You can put required files for you jupyter notebooks into `local-run/with-jupyter-notebook/user_data` folder. Please note that this folder is read-only for containers.<br>
Or you can mount own folder by changing value of `USER_DATA_DIR` environment variable in the `local-run/with-jupyter-notebook/.evn` file.<br>
Or change the `local-run/with-jupyter-notebook/compose.yml` file. Please note you should mount the same dictionary by the same path to `jupyter_notebook` and `json_stream_provider` services.

#### start command
```shell
cd local-run/with-jupyter-notebook
docker compose up
```
#### application URLs:
* http://localhost - th2-rpt-viewer
* http://localhost/jupyter - jupyter-notebook. You can authorise via token printed into `jupyter_notebook` logs:
```shell
cd local-run/with-jupyter-notebook
docker compose logs jupyter_notebook | grep 'jupyter/lab?token=' | tail -1 | cut -d '=' -f 2
```

## Release notes:

### 0.0.3
Expand Down

0 comments on commit 0712c13

Please sign in to comment.