chicolucio / pH-diagrams

A Python package to plot fractional composition diagrams and pH-log c diagrams
https://phdiagrams.herokuapp.com/
MIT License
4 stars 2 forks source link

[BUG] `streamlit-ph` does not work #13

Closed chicolucio closed 2 years ago

chicolucio commented 2 years ago

Describe the bug

streamlit-ph script does not work.

To Reproduce Steps to reproduce the behavior:

  1. install the package
  2. run streamlit-ph on terminal
  3. message: Error: Invalid value: File does not exist: Home.py

Expected behavior Browser window opens with Streamlit app

Screenshots NA

Specification

Additional context The file is not part of the package. Maybe the project should be restructured in a way that the Streamlit app becomes a module.

chicolucio commented 2 years ago

I'm dropping for now the idea of shipping the Streamlit app together with the package:

Added this in the README:

A local version of the Streamlit app can be used cloning the repo and running streamlit run Home.py on a terminal. A browser window will open (if not, follow the instructions shown on the terminal output).

This way, one can use the Streamlit app locally as long as a proper virtual environment is set.