format
This commit is contained in:
parent
d858222af7
commit
7d9044ab29
202 changed files with 10755 additions and 10972 deletions
73
.serena/memories/suggested_commands.md
Normal file
73
.serena/memories/suggested_commands.md
Normal file
|
|
@ -0,0 +1,73 @@
|
|||
# Suggested Commands for Development
|
||||
|
||||
## Package Management (Bun)
|
||||
- `bun install` - Install all dependencies
|
||||
- `bun add <package>` - Add a new dependency
|
||||
- `bun add -D <package>` - Add a dev dependency
|
||||
- `bun update` - Update dependencies
|
||||
|
||||
## Development
|
||||
- `bun run dev` - Start all services in development mode (uses Turbo)
|
||||
- `bun run dev:full` - Start infrastructure + admin tools + dev mode
|
||||
- `bun run dev:clean` - Reset infrastructure and start fresh
|
||||
|
||||
## Building
|
||||
- `bun run build` - Build all services and libraries
|
||||
- `bun run build:libs` - Build only shared libraries
|
||||
- `bun run build:all:clean` - Clean build with cache removal
|
||||
- `./scripts/build-all.sh` - Custom build script with options
|
||||
|
||||
## Testing
|
||||
- `bun test` - Run all tests
|
||||
- `bun test --watch` - Run tests in watch mode
|
||||
- `bun run test:coverage` - Run tests with coverage report
|
||||
- `bun run test:libs` - Test only shared libraries
|
||||
- `bun run test:apps` - Test only applications
|
||||
- `bun test <file>` - Run specific test file
|
||||
|
||||
## Code Quality (IMPORTANT - Run before committing!)
|
||||
- `bun run lint` - Check for linting errors
|
||||
- `bun run lint:fix` - Auto-fix linting issues
|
||||
- `bun run format` - Format code with Prettier
|
||||
- `./scripts/format.sh` - Alternative format script
|
||||
|
||||
## Infrastructure Management
|
||||
- `bun run infra:up` - Start databases (PostgreSQL, QuestDB, MongoDB, Dragonfly)
|
||||
- `bun run infra:down` - Stop infrastructure
|
||||
- `bun run infra:reset` - Reset with clean volumes
|
||||
- `bun run docker:admin` - Start admin GUIs (pgAdmin, Mongo Express, Redis Insight)
|
||||
- `bun run docker:monitoring` - Start monitoring stack
|
||||
|
||||
## Database Operations
|
||||
- `bun run db:setup-ib` - Setup Interactive Brokers database schema
|
||||
- `bun run db:init` - Initialize all database schemas
|
||||
|
||||
## Utility Commands
|
||||
- `bun run clean` - Clean build artifacts
|
||||
- `bun run clean:all` - Deep clean including node_modules
|
||||
- `turbo run <task>` - Run task across monorepo
|
||||
|
||||
## Git Commands (Linux)
|
||||
- `git status` - Check current status
|
||||
- `git add .` - Stage all changes
|
||||
- `git commit -m "message"` - Commit changes
|
||||
- `git push` - Push to remote
|
||||
- `git pull` - Pull from remote
|
||||
- `git checkout -b <branch>` - Create new branch
|
||||
|
||||
## System Commands (Linux)
|
||||
- `ls -la` - List files with details
|
||||
- `cd <directory>` - Change directory
|
||||
- `grep -r "pattern" .` - Search for pattern
|
||||
- `find . -name "*.ts"` - Find files by pattern
|
||||
- `which <command>` - Find command location
|
||||
|
||||
## MCP Setup (for database access in IDE)
|
||||
- `./scripts/setup-mcp.sh` - Setup Model Context Protocol servers
|
||||
- Requires infrastructure to be running first
|
||||
|
||||
## Service URLs
|
||||
- Dashboard: http://localhost:4200
|
||||
- QuestDB Console: http://localhost:9000
|
||||
- Grafana: http://localhost:3000
|
||||
- pgAdmin: http://localhost:8080
|
||||
Loading…
Add table
Add a link
Reference in a new issue