Change web demo local port to 8765 to avoid colliding with Jupyter
This commit is contained in:
parent
a0f4fafb88
commit
f50e64632e
|
@ -66,7 +66,7 @@ Make a PR to add it as a link to [`README.md`](README.md#integrations) so others
|
||||||
## Testing the web viewer
|
## Testing the web viewer
|
||||||
* Build with `scripts/build_demo_web.sh`
|
* Build with `scripts/build_demo_web.sh`
|
||||||
* Host with `scripts/start_server.sh`
|
* Host with `scripts/start_server.sh`
|
||||||
* Open <http://localhost:8888/index.html>
|
* Open <http://localhost:8765/index.html>
|
||||||
|
|
||||||
|
|
||||||
## Code Style
|
## Code Style
|
||||||
|
|
|
@ -122,12 +122,12 @@ echo "Finished ${FINAL_WASM_PATH}"
|
||||||
if [[ "${OPEN}" == true ]]; then
|
if [[ "${OPEN}" == true ]]; then
|
||||||
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
|
||||||
# Linux, ex: Fedora
|
# Linux, ex: Fedora
|
||||||
xdg-open http://localhost:8888/index.html
|
xdg-open http://localhost:8765/index.html
|
||||||
elif [[ "$OSTYPE" == "msys" ]]; then
|
elif [[ "$OSTYPE" == "msys" ]]; then
|
||||||
# Windows
|
# Windows
|
||||||
start http://localhost:8888/index.html
|
start http://localhost:8765/index.html
|
||||||
else
|
else
|
||||||
# Darwin/MacOS, or something else
|
# Darwin/MacOS, or something else
|
||||||
open http://localhost:8888/index.html
|
open http://localhost:8765/index.html
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -6,7 +6,7 @@ cd "$script_path/.."
|
||||||
# Starts a local web-server that serves the contents of the `doc/` folder,
|
# Starts a local web-server that serves the contents of the `doc/` folder,
|
||||||
# i.e. the web-version of `egui_demo_app`.
|
# i.e. the web-version of `egui_demo_app`.
|
||||||
|
|
||||||
PORT=8888
|
PORT=8765
|
||||||
|
|
||||||
echo "ensuring basic-http-server is installed…"
|
echo "ensuring basic-http-server is installed…"
|
||||||
cargo install basic-http-server
|
cargo install basic-http-server
|
||||||
|
|
|
@ -3,7 +3,7 @@ This folder contains the files required for the egui web demo hosted at <https:/
|
||||||
## Testing locally
|
## Testing locally
|
||||||
* Build with `scripts/build_demo_web.sh`
|
* Build with `scripts/build_demo_web.sh`
|
||||||
* Host with `scripts/start_server.sh`
|
* Host with `scripts/start_server.sh`
|
||||||
* Open <http://localhost:8888/index.html>
|
* Open <http://localhost:8765/index.html>
|
||||||
|
|
||||||
## Deploying egui.rs
|
## Deploying egui.rs
|
||||||
Each merge into `master` will trigger a new deploy
|
Each merge into `master` will trigger a new deploy
|
||||||
|
|
Loading…
Reference in New Issue