Set up development environment (AGENTS.md) - #1
Draft
manyxu wants to merge 1 commit into
Draft
Conversation
Co-authored-by: manyxu <manyxu@foxmail.com>
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 working local development environment for the MINNA IoT platform on Linux and documents the non-obvious gotchas for future agents. No application code is modified — only
AGENTS.mdis added.What was set up
nodeis v22 via/exec-daemon/node, so the nvm Node must be put onPATHto run the app.--auth) on127.0.0.1:27017with theminnaroot user the app expects (mongodb://minna:minna1314@localhost:27017/minna?authSource=admin).127.0.0.1:6379.package.jsonpins@discordjs/opustogithub:discordjs/opus, which fails to compile on a fresh clone (missing opus submodule sources). Workaround:npm install --ignore-scriptsthen overlay the npm-published prebuilt@discordjs/opus@0.9.0(--no-save, sopackage.jsonis untouched).Verification
npm startboots the Express server on:6700plus plugin servers (ASR:8081/:8082, TTS:8083); Redis + MongoDB connect and the admin user (admin/admin) is auto-seeded.curl "http://127.0.0.1:6700/users/login?username=admin&password=admin"returns{"code":0,...,"access_token":...}.Notes
start).AGENTS.mdfor how to start them each session.