Skip to main content

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

Why pnpm?
  • Efficient disk space usage
  • Faster installs than npm/yarn
  • Better monorepo support
  • Strict dependency resolution

IDE Setup

1

Install VS Code

Download from code.visualstudio.com
2

Install recommended extensions

Install all at once:
  1. Open Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
  2. Type “Extensions: Show Recommended Extensions”
  3. Click “Install All”
3

Configure workspace settings

Repository Setup

1

Clone the repository

2

Install dependencies

3

Set up environment variables

Key variables to configure:
4

Build native modules

5

Verify installation

Docker Setup (Optional)

For containerized development:
  1. Install Docker Desktop
  2. Verify installation:
  3. 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:
Configure lint-staged in package.json:

Development Workflow

Daily Development

Running Applications

Running Tests

Troubleshooting

Next Steps

Building

Learn how to build for production

Testing

Write and run tests

Contributing

Contribution guidelines

Architecture

Understand the architecture