Onboarding Setup
Onboarding & Local Development Environment Setup
Developer Environment Configuration
This document contains the step-by-step onboarding and local machine provisioning configuration for the engineering team. It targets a unified setup using Bun and uv to replicate our local production environments.
1. Local Prerequisites & Host Machine Provisioning
Before executing the automated setup scripts, ensure your local development machine satisfies the following hardware and base operating system software dependencies:
- Operating System: Ubuntu 24.04 LTS, macOS Sonoma, or Windows 11 with WSL2 (Ubuntu 22.04+ base image distribution).
- Hardware Profile: Minimum 4 physical cores (CPU), 8GB allocated RAM capacity, and at least 25GB free SSD storage allocation.
- Core Runtimes: Docker Engine v25+ with Compose V2 capability installed on the host.
2. Fast Environment Toolchain Bootstrap
We bypass traditional slow installations (pip, npm) in favor of Rust and Zig-backed runtimes (uv, bun) to guarantee consistent environment generation, even during local internet connectivity drops.
3. Monorepo Repository Architecture & Cloning
Clone the project from our local network mirror repository, initialize the codebase submodules, and navigate into the root project directory structure.
4. Backend Provisioning & Database Migration Pipeline
Our Python environment lifecycle relies entirely on uv. Execute the toolchain creation and run structural database setups inside the core backend application container space.
4.1 Local Infrastructure Dependency Lifecycle
Boot up the isolated local supporting service infrastructure layers (PostgreSQL 16, Redis) using the provided lightweight Docker Compose testing manifest profiles:
5. Frontend Client Provisioning
Switch over to the interface development sandbox, pull standard packages using Bun workspaces, and bind configuration values to point directly at your local backend Django API node.
6. Local Parallel Execution Blueprint
Open three concurrent terminal windows or multiplexers (tmux) to launch the development environment stacks side by side:
Verify your local environment setup status by visiting http://localhost:3000 to access the main interface landing page, or navigating to http://localhost:8000/api/v1/docs to inspect the live Swagger/OpenAPI documentation schema catalog.
Document Verification Block
Author: Ian Wataka - Backend DeveloperTarget Scope: Local Dev Engineering Machine Provisioning