Skip to content

feat: hosted live demo (light requirements + theme + deploy guide)#29

Open
Rekin226 wants to merge 1 commit into
mainfrom
feat/live-demo
Open

feat: hosted live demo (light requirements + theme + deploy guide)#29
Rekin226 wants to merge 1 commit into
mainfrom
feat/live-demo

Conversation

@Rekin226

Copy link
Copy Markdown
Owner

Makes Agronaut deployable as a free, key-free live demo and wires it into the README — the single highest-leverage change for stars (a visitor sees it work in 10 seconds).

Part of #24. The actual click-to-deploy and GIF recording are owner steps (need a Streamlit/GitHub login) — docs/demo.md is the playbook.

The insight

The Design Calculator and Optimize Ratio modes are deterministic and import only streamlit + pandas along their path (verified). app.py already lazy-imports the chat stack and degrades gracefully when it's absent. So the demo doesn't need torch/faiss/langchain at all — it boots in seconds and stays well inside Streamlit Community Cloud's free-tier limit.

What's here

  • requirements.txt — light manifest Streamlit Cloud auto-detects (the repo previously only had requirement.txt, singular, which Cloud ignores). Installs streamlit + pandas + numpy + openpyxl + markdown.
  • requirement.txt — header comment clarifying it's the FULL stack (CI / chat / dev). Unchanged otherwise, so CI and local dev are unaffected.
  • .streamlit/config.toml — on-brand leaf-green theme, headless, usage stats off.
  • README — "▶ Try the live demo" link + Streamlit badge near the top, a "Deploy your own (~2 min)" guide, and a GIF placeholder.
  • docs/demo.md — deploy steps, how to claim the agronaut.streamlit.app subdomain, and a GIF-recording playbook.

Verification

  • Smoke-tested via Streamlit AppTest: app boots with no exception and renders all three modes (Design Calculator default, Optimize Ratio, and chat) — confirmed locally.
  • Confirmed the deterministic path imports only streamlit + pandas.
  • git check-ignore clean — none of the new files are gitignored.

Owner follow-ups (in docs/demo.md)

  1. Deploy on Streamlit Community Cloud (repo → mainapp.py), claim agronaut subdomain.
  2. Record a 15–20s Design→Optimize GIF, drop it at docs/agronaut-demo.gif, swap the README TODO line.

🤖 Generated with Claude Code

…loy guide)

The Design Calculator and Optimize Ratio modes are deterministic and only need
streamlit + pandas, so the hosted demo can install a light requirements.txt and
boot in seconds — well inside Streamlit Community Cloud's free tier. Chat degrades
to a friendly message when the heavy stack is absent (already handled in app.py).

- requirements.txt: minimal manifest Streamlit Cloud auto-detects (demo + core).
- requirement.txt: header clarifying it's the FULL stack (CI / chat / dev).
- .streamlit/config.toml: on-brand green theme, headless, no usage stats.
- README: "Try the live demo" link + badge, deploy-your-own guide.
- docs/demo.md: deploy steps, subdomain claim, and GIF-recording playbook.

Part of #24.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.

1 participant