Skip to content

Commit

Permalink
add run.sh usage and example to README
Browse files Browse the repository at this point in the history
  • Loading branch information
tabinohito committed May 8, 2024
1 parent bb40364 commit 7b7a8ee
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,16 @@ pybind11-stubgen -o . --ignore-invalid=all pyridescence

### Docker

* Build: `docker build -t iridescence -f docker/ubuntu/Dockerfile .`
* Run: `bash docker/run.sh iridescence`
* Build:
`docker build -t iridescence -f docker/ubuntu/Dockerfile .`
* Run with gpu:
`bash docker/run.sh`
* Run without gpu:
`NO_GPU=1 bash docker/run.sh`
* Run if you don't approve the permission for docker:
`sudo bash docker/run.sh`
* Example of running `01_light_viewer_basic` with a specific option:
`NO_GPU=1 DOCKER_IMAGE="iridescence" DOCKER_CONTAINER="iridescence" bash docker/run.sh /root/iridescence/build/01_light_viewer_basic`

## Use Iridescence in your cmake project

Expand Down

0 comments on commit 7b7a8ee

Please sign in to comment.