Skip to content

Optional: run the app in the browser on Firebase Hosting (stlite) - #4

Merged
evanesce345 merged 2 commits into
starter/basefrom
starter/stlite
Oct 21, 2026
Merged

evanesce345 merged 2 commits into
starter/basefrom
starter/stlite

Conversation

@sloanfinger

@sloanfinger sloanfinger commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

An optional add-on. Merge #1 first. It runs the same app.py entirely in the browser with stlite, hosted by Google on Firebase Hosting.

  • scripts/build_site.py builds site/. CI posts a preview link on each PR and deploys https://g311-communication-needs-map.web.app when you merge to main.
  • Trade-off: the first load takes 10–30 seconds while Python downloads, and only packages that run in the browser work. Keep heavy work in scripts/ and commit the results to data/.

@github-actions

Copy link
Copy Markdown

Preview: https://g311-communication-needs-map--pr-4-e78y34vd.web.app
(updates on every push to this PR, expires 7 days after the last push)

@sloanfinger
sloanfinger marked this pull request as ready for review October 19, 2026 17:37
@evanesce345
evanesce345 merged commit fd659d1 into starter/base Oct 21, 2026
2 checks passed
@sloanfinger
sloanfinger deleted the starter/stlite branch November 2, 2026 19:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants