Code Monkey home page Code Monkey logo

shinyproxy-streamlit's Introduction

Credits

Running streamlit image inside ShinyProxy

Streamlit is a Shiny-like app development library for Python.

ShinyProxy is a deployment platform built for Shiny, and extendable to other apps.

To build the image from the Dockerfile, clone this repo with git clone https://github.com/leungi/shinyproxy-streamlit.git.

Navigate into the repo and run

sudo docker build -t shinyproxy-streamlit .

For deployment on ShinyProxy, include the below in the specs section of application.yml configuration file.

If running ShinyProxy as installed .rpm (e.g., RHEL), note that the application.yml may be located in /etc/shinyproxy/application.yml.

If running as .jar (e.g., shinyproxy-2.3.0.jar), then the application.yml should be placed in same folder as .jar file.

For more info, visit ShinyProxy config.

specs:
  - id: streamlit
    display-name: Demo Streamlit app
    description: Adding another non shiny app to shinyproxy
    container-cmd: ["streamlit", "run", "app.py", "--server.port=8501"]
    container-image: shinyproxy-streamlit
    # Streamlit runs on port 8501
    port: 8501

shinyproxy-streamlit's People

Contributors

leungi avatar

Stargazers

Seb Rauschert avatar  avatar Omkar Pramod Hankare avatar Zhibo avatar Peter Solymos avatar Randy Zwitch avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.