feat: Update project configuration and add new development commands
This commit is contained in:
10
justfile
10
justfile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user