Skip to content

Commit 3edb098

Browse files
committed
fix: to streamlit compatible pip style entry
1 parent a5898fe commit 3edb098

3 files changed

Lines changed: 5 additions & 15 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Then: `make test` · `hdb-download -o data/raw/hdb_resale_2017_onwards.csv` (or
5555
## Live demo (two URLs)
5656

5757
- **GitHub Pages** (static report only): enable [`.github/workflows/publish-quarto.yml`](.github/workflows/publish-quarto.yml) and set **Settings → Pages** to **GitHub Actions**. URL shape: `https://<user>.github.io/<repo>/`.
58-
- **Streamlit Community Cloud** (interactive app): main file `streamlit_app.py`; use [`packages.txt`](packages.txt) or `pip install -e .`. Set secrets in the Cloud UI (e.g. `DATA_GOV_SG_API_KEY`) as in [`.streamlit/secrets.toml.example`](.streamlit/secrets.toml.example). List the Cloud app URL in this README next to the Pages URL.
58+
- **Streamlit Community Cloud** (interactive app): main file `streamlit_app.py`; Python dependencies are in [`requirements.txt`](requirements.txt) (`-e .`) and project metadata in [`pyproject.toml`](pyproject.toml). Set secrets in the Cloud UI (e.g. `DATA_GOV_SG_API_KEY`) as in [`.streamlit/secrets.toml.example`](.streamlit/secrets.toml.example). List the Cloud app URL in this README next to the Pages URL.
5959

6060
### Publish checklist (GitHub Pages + Streamlit Cloud)
6161

packages.txt

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,3 @@
1-
# Streamlit Community Cloud: pin to pyproject or `pip install -e .`
2-
# https://docs.streamlit.io/streamlit-community-cloud/deploy-your-app
3-
pandas>=2.2,<3
4-
numpy>=1.26,<3
5-
plotly>=5.24,<6
6-
streamlit>=1.40,<2
7-
streamlit-folium>=0.24,<1
8-
folium>=0.18,<1
9-
scipy>=1.14,<2
10-
statsmodels>=0.14,<1
11-
pyarrow>=18,<20
12-
requests>=2.32,<3
13-
networkx>=3.2,<4
14-
scikit-learn>=1.5,<2
1+
# Apt packages for Streamlit Community Cloud.
2+
# Keep this file for system dependencies only.
3+
# Python dependencies belong in requirements.txt / pyproject.toml.

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-e .

0 commit comments

Comments
 (0)