Coder Social home page Coder Social logo

Comments (9)

drewsilcock avatar drewsilcock commented on May 28, 2024 1

I agree this would be a very useful feature to make the tool more user-friendly and easier to deploy for general use rather than individual developers or data scientists playing around with it.

In the meantime it would be helpful to have a Dockerfile with an image for each tool, that way you could easily spin all of the tools at the same time along with an nginx reverse proxy using Docker Compose, without needing to change any Python code.

from rasalit.

koaning avatar koaning commented on May 28, 2024 1

I'll gladly review any PR for a Dockerfile that does this.

from rasalit.

koaning avatar koaning commented on May 28, 2024 1

This might also make it easy to ship the bulk labelling tool now that I think of it. Althought probably best to keep as a separate Dockerfile.

from rasalit.

koaning avatar koaning commented on May 28, 2024

You'd need to run something like nginx in front of it as a proxy. This is possible, but not super obvious to get right.

from rasalit.

mishra011 avatar mishra011 commented on May 28, 2024

@koaning Yes, we can do it, we can run all of them separately on different ports then use a reverse proxy to combine them on one port. But I was wishing since most people will be using all of them, so instead of running all 4 separately, shouldn't we have a feature to run all of them at once then use them accordingly.

from rasalit.

koaning avatar koaning commented on May 28, 2024

You're the first person suggesting to use all views at the same time actually. I'm open to a tutorial for the readme but I doubt streamlit open aohrce allows you to spin up multiple apps on a single port.

from rasalit.

mishra011 avatar mishra011 commented on May 28, 2024

I think all views at the same place can be a nice feature if streamlit supports it.

from rasalit.

drewsilcock avatar drewsilcock commented on May 28, 2024

It would also be possible to implement a sidebar navigation like this other repo - awesome-streamlit.

See: https://github.com/MarcSkovMadsen/awesome-streamlit/blob/be454e29c35a9a1a760b1737a5176a47f4f9717b/app.py#L5-L30

from rasalit.

drewsilcock avatar drewsilcock commented on May 28, 2024

Pushed a PR containing a Dockerfile, docker-compose.yaml and Nginx configuration for this reverse proxying solution: #60.

from rasalit.

Related Issues (20)

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.