Local setup with mock data#188
Open
MiloCasagrande wants to merge 2 commits into
Open
Conversation
Member
Author
|
This is a local dev setup with seeded data: I had AI go through the source code to provide "good" mock data so that one can spin up the server and use the UI without needing real devices or anything. |
doanac
reviewed
Jun 26, 2026
doanac
left a comment
Member
There was a problem hiding this comment.
I like the general idea. We have a "contrib/gen-certs.sh" but I think its different enough that we shouldn't bother trying to get it aligned with this new seed command.
Two things:
- @StealthyCoder - You are doing some hackery around seeding data for scale testing. Is there anything here that you could leverage or is what you are doing totally different?
- Can you squash the commits where appropritate? I think commits 1,2 and 4 of this are probably a single change?
added 2 commits
June 26, 2026 16:49
Add dev-only path to run the server on localhost with a populated UI, without real devices. - cmd/seed: seeds N mock devices. - contrib/run-local.sh: builds, generate a self-signed cert to satisfy the gateway, runs auth-init --test (noauth), seeds, then starts. --auth flag inits local auth and seeds an initial user (admin/admin, env-overridable via AUTH_USER/AUTH_PASS) - docs/run-locally.md: command guide. Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
Signed-off-by: Milo Casagrande <mcasagra@qti.qualcomm.com>
201c22a to
02441aa
Compare
Member
Author
|
@doanac commits squashed, history should have only 2 now. Keep in mind this is really a quick setup for local development without bothering about devices etc..., mostly for having something to play around in the UI. I'm interested in the seed data for the updates part, if @StealthyCoder has done it. |
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.
Uh oh!
There was an error while loading. Please reload this page.