Skip to content

Latest commit

 

History

History
35 lines (22 loc) · 731 Bytes

File metadata and controls

35 lines (22 loc) · 731 Bytes

Shinylive without quarto

See also https://shiny.posit.co/py/docs/shinylive.html.

Run app:

uv sync

uvicorn --reload app:app

Create standalone Shinylive app in site folder:

shinylive export . site

Start local webserver to server the app:

python3 -m http.server --directory site --bind localhost 8008

Navigate to http://localhost:8008.

Build Docker image to server site with Nginx:

docker build -t shiny-for-py/shinylive-app-nginx:1.0.0 .

docker run -p 8085:80 --rm shiny-for-py/shinylive-app-nginx:1.0.0

Navigate to http://localhost:8085/shinylive-app/.