-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: XR viewer using ipyreact & threejs * add caddyfile * feat: make determining selected points more efficient * feat: improve build process We now separate three.js and the @react-three packages into their own bundles to improve extendability. * feat, build: include js bundles in package * chore: update dependencies Co-authored-by: Maarten Breddels <[email protected]> --------- Co-authored-by: Maarten Breddels <[email protected]>
- Loading branch information
1 parent
a44b7a8
commit c8e180f
Showing
33 changed files
with
3,738 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
192.168.189.140 { | ||
reverse_proxy localhost:8765 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
# glue-solara | ||
|
||
development installation: | ||
development installation requires **npm/nodejs**: | ||
|
||
$ pip install -e ".[dev]" | ||
$ pre-commit install | ||
|
||
## Serve on local network | ||
|
||
For this, we use [caddy](https://caddyserver.com/) as a reverse proxy. After [installing caddy](https://caddyserver.com/docs/install), run | ||
|
||
```bash | ||
$ caddy run | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Add the viewer as a plugin to glue-jupyter, see | ||
# https://glue-jupyter.readthedocs.io/en/latest/developer_notes.html#adding-new-viewers-via-plug-ins | ||
def setup(): | ||
from glue_jupyter.registries import viewer_registry | ||
|
||
from .tools import XRHullSelectionTool as XRHullSelectionTool | ||
from .viewer import XRBaseView | ||
|
||
viewer_registry.add("xr", XRBaseView) |
Oops, something went wrong.