Mattia Tantardini ea9f729dac removed not needed environmental variables 3 年之前
..
src ea9f729dac removed not needed environmental variables 3 年之前
README.md a5f9978b68 fix: removed extra wheels from repository, mention which are needed in readme 3 年之前
installer.cfg a598c100ed fix: removed fpdf2 dependency which is project-specific 3 年之前
poetry.lock 5f6250e8dd feat(examples): added streamlit example 3 年之前
pyproject.toml 5f6250e8dd feat(examples): added streamlit example 3 年之前

README.md

Streamlit deployment via pynsist

This is an example on how to deploy a streamlit app using pynsist. The example also includes the required packages to run plotly inside the app.

The extra wheels of the packages blinker and pyarrow are required (can't be found on Pypi).

Here you can find additional information on why the src/run_app.py has the chosen structure.

To properly run the app once installed, the environmental variable WORKING_DIR has to be set to the installation path on the Windows machine: <installation-folder>/pkgs.

The browser tab with the app should open automatically after a brief delay. This is done to avoid the tab opening while streamlit is still starting, so that this results in a Cannot reach localhost:8501 error.