feat: Update project configuration and add new development commands

This commit is contained in:
GW_MC
2026-03-21 03:06:41 +00:00
parent 98448509f4
commit 261e6b1bdb
4 changed files with 387 additions and 232 deletions

View File

@@ -43,9 +43,13 @@ dev:
wait
# Start Rust backend with hot reload
dev-backend:
dev-master *ARGS:
@echo "🔧 Starting Rust backend..."
cargo watch -x run
cargo watch -w apps/nxmesh-master -x 'run --bin nxmesh-master -- {{ARGS}}'
dev-agent *ARGS:
@echo "🔧 Starting Rust agent..."
cargo watch -w apps/nxmesh-agent -x 'run --bin nxmesh-agent -- {{ARGS}}'
# Start Vite frontend development server
dev-frontend:
@@ -113,7 +117,7 @@ db-new-migration name:
# Reset database (drop and recreate)
db-reset:
@echo "⚠️ Resetting database..."
cd crates && sea-orm-cli database reset
cd crates && sea-orm-cli migrate reset
# Connect to database with psql
db-console: