Overview
This guide covers setting up a complete development environment for the Olis monorepo, including all necessary tools, configurations, and best practices.System Requirements
Operating Systems
- Windows 10/11
- macOS 12+
- Ubuntu 20.04+ / Debian-based Linux
Hardware
- 8GB RAM minimum (16GB recommended)
- 10GB free disk space
- Multi-core processor
Required Tools
Core Development Tools
- Node.js & pnpm
- Python
- Rust
- Git
- Efficient disk space usage
- Faster installs than npm/yarn
- Better monorepo support
- Strict dependency resolution
IDE Setup
Visual Studio Code (Recommended)
1
Install VS Code
Download from code.visualstudio.com
2
Install recommended extensions
- Open Command Palette (
Ctrl+Shift+P/Cmd+Shift+P) - Type “Extensions: Show Recommended Extensions”
- Click “Install All”
3
Configure workspace settings
Repository Setup
1
Clone the repository
2
Install dependencies
3
Set up environment variables
4
Build native modules
5
Verify installation
Docker Setup (Optional)
For containerized development:- Docker Desktop
- Docker Compose Services
- Install Docker Desktop
- Verify installation:
- Start Docker Desktop
Workflow Tools
Nx Console
Nx Console provides a GUI for running Nx commands:1
Install extension
Search for “Nx Console” in VS Code extensions
2
Access the console
Click the Nx icon in the sidebar or use Command Palette
3
Run tasks visually
- Select a project
- Choose a task (build, serve, test, lint)
- Click Run
Pre-commit Hooks
Set up Git hooks for quality checks:package.json:
Development Workflow
Daily Development
Running Applications
- Electron Client
- API Server
- Chrome Extension
Running Tests
Troubleshooting
pnpm install fails
pnpm install fails
Rust build errors
Rust build errors
Python dependency conflicts
Python dependency conflicts
Nx commands not working
Nx commands not working
Next Steps
Building
Learn how to build for production
Testing
Write and run tests
Contributing
Contribution guidelines
Architecture
Understand the architecture