Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 950 Bytes

quick-start.md

File metadata and controls

54 lines (37 loc) · 950 Bytes

Quick Start Guide

This guide will help you get started with DevBox by walking through the basic workflow.

Initialize a Project

Initialize a new DevBox project from a manifest repository:

devbox init https://github.com/pilat/devbox-example

Start Services

Start all services defined in your project (requires sudo password on first run):

devbox --name example-app up

DevBox will:

  • Fetch source code from the manifest repository
  • Pull required Docker images
  • Build services as needed
  • Configure SSL certificates
  • Update host files
  • Start all services

Mount Source Code

To use your local source code instead of the manifest repository version:

cd /path/to/your/copy/of/service
devbox mount

View Service Logs

# View logs for all services
devbox logs

# View logs for specific services
devbox logs service-name

Stop Services

# Stop all services
devbox down