Skip to content

Commit

Permalink
editor: remove disk mount
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalEgn committed Aug 26, 2024
1 parent 054ea64 commit 166a262
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,16 @@ $ cd ui
$ yarn start
```

In case you wanna use docker and just run the record-editor locally, use the following steps:
1. Add the following volume mount to the record-editor service in the [docker-compose.yml](docker-compose.yml):
* `- ./record-editor/dist/:/usr/share/nginx/html`
2. Navigate into the record-editor folder and first run `yarn` and then `yarn start`
3. Open a second terminal and run `make run`

The record editor should now be availabe and automatically update when changes are made to the codebase.


#### General
You can also connect UI to another environment by changing the proxy in `ui/setupProxy.js`

```javascript
Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ services:
ports:
- '8081:8081'
volumes:
- ./record-editor/dist/:/usr/share/nginx/html
- ./record-editor/docker/nginx/config/nginx.conf:/etc/nginx/conf.d/default.conf
hep-web:
extends:
Expand Down

0 comments on commit 166a262

Please sign in to comment.