Conversation
Co-authored-by: Javiops <Javiops@users.noreply.github.com>
Javiops
marked this pull request as ready for review
August 30, 2026 13:15
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Sets up a reproducible Cloud Agent development environment for the Build Tracker FastAPI app (League of Legends shop-decision tracker). The repository previously had no
.cursor/environment.json, README, or setup script.What's added
.cursor/environment.json— declares the environment:ubuntuuser, an idempotentinstallscript, awebterminal that serves the app withuvicorn app.main:app --host 0.0.0.0 --port 8000, and exposes port8000.scripts/cloud-install.sh— idempotent bootstrap that installs thepython3-venvsystem package if missing, creates a.venv, installsrequirements.txt(FastAPI, uvicorn, httpx, scikit-learn, torch), and warms the Data Dragon static-data cache.How to run it
source .venv/bin/activate && uvicorn app.main:app --host 0.0.0.0 --port 8000→ UI at/, JSON API under/api/*.source .venv/bin/activate && python -m scripts.test_visits.Note on
RIOT_API_KEYThe live
Sync Fakerflow needs a Riot developer key (which expires every 24h). It is intentionally treated as an optional secret rather than baked into the environment; the app runs fully without it and prompts to add one. Copy.env.exampleto.envand add a key to enable live syncing.Validation
pip install -r requirements.txt(incl. torch)installidempotencepython -m scripts.test_visitsok(uses live Data Dragon fetch)/api/statusddragon_version: 16.17.1resolved over the network;GET /→ 200bld-20260830-0a6c8517cloud-install.sh+ full dependency install + Data Dragon warmUI walkthrough (headless-browser screenshots of the running app)
Match list with live champion icons, and a full game timeline showing every player's shop visits, items bought, and the per-visit board:
Build Tracker landing page
Game timeline detail
Player search ("faker" alias resolves to Hide on bush#KR1) and the filtered header after selecting the player:
Player search
Filtered to selected player
To show artifacts inline, enable in settings.