You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a Python Shiny app on a company server running via shiny-server. When I make changes to it, the changes are not reflected in the browser at the URL (changes are picked up for R Shiny apps though).
A workaround is to just rename the directory of the app, and rename it back, then shiny-server picks it up as 'new' app.
Is there a fix for this ?
Secondary question:
How can I get shiny-server to use my .venv for this specific app ?
Currently it uses system-wide (Ubuntu) Python packages, but this means I have to get IT to install every dependency for me.
Furthermore, it means we cannot have multiple apps requiring different versions of dependencies.
The text was updated successfully, but these errors were encountered:
To answer your second question: You can specify a relative path where you want shiny to look for a python environment in your /etc/shiny-server/shiny-server.conf file.
You could, for instance, add python ./.venv/; at the top of the configuration file, telling shiny to look for a virtual environment at the root of an application directory.
I have a Python Shiny app on a company server running via
shiny-server
. When I make changes to it, the changes are not reflected in the browser at the URL (changes are picked up for R Shiny apps though).A workaround is to just rename the directory of the app, and rename it back, then shiny-server picks it up as 'new' app.
Is there a fix for this ?
Secondary question:
How can I get shiny-server to use my .venv for this specific app ?
Currently it uses system-wide (Ubuntu) Python packages, but this means I have to get IT to install every dependency for me.
Furthermore, it means we cannot have multiple apps requiring different versions of dependencies.
The text was updated successfully, but these errors were encountered: