Files
baserow/docs/development/development-environment.md
Davide Silvestri e25988ea0d chore: switch to uv and justfile (#4369)
* create backend justfile; switch to uv

* Add deploy and dc-deploy recipes to build images

* Add uv.lock for reproducible builds

* CI fixes + improvements

* Reduce build time

* improve CI caching

* Improve exit early conditions

* Set requires_python==3.11.*; add backend/media to gitignore

* Fix all-in-one Dockerfiles and some other fixes

* Introduce frontend justfile + some other useful recipes

* Fix permissions issue with dev containers

* Improve dockerfiles and docs on how to use the dev env

* Fix mjml-email-compiler service

* Update docs + address feedback

* Fix containers healthchecks

* Fix yarn test in dev container

* Minor fixes to docs and justfile attach command

* Address Petr's feedback

* Address additional feedback

* Add changelog entry

* Address feedback: Petr and Przemek

* address feedback + prepare for saas PR

* minor fixes

* Address Bram's feedback 2
2026-01-15 11:22:22 +01:00

2.6 KiB

Baserow's Dev Environment

The dev environment runs Baserow services with source code hot reloading enabled. It also runs the backend django server and web-frontend nuxt server in debug and development modes.

Getting Started

Baserow offers two development approaches. Choose based on your priorities:

Approach Guide
Docker Running with Docker
Local Running Locally

Which Should I Use?

Use Docker if you want:

  • Quick start - Only requires Docker and just, no language runtimes to install
  • Consistency - Identical environment across all machines and OSes
  • Isolation - Dependencies contained in images, won't conflict with other projects
  • Security - Code runs in sandboxed containers

Use Local development if you want:

  • Speed - Faster startup, instant hot reload, no container overhead
  • Lower resources - No Docker daemon or container memory overhead
  • Better debugging - Direct IDE integration, native breakpoints, no remote debugging setup
  • Simpler tooling - Standard Python/Node workflows you already know

Both approaches use the same just commands and can be switched between freely.

Quick Start

  • Docker development: just dc-dev up -d - runs all services in Docker containers
  • Local development: just dev - runs services natively with Docker only for db/redis

Further Reading

Note

: The older dev.sh script is deprecated. See dev.sh for documentation on the legacy script if needed.

Fixing git blame

A large formatting only commit was made to the repo when we converted to use the black auto-formatter on April, 12 2021. If you don't want to see this commit in git blame, you can run the command below to get your local git to ignore that commit in blame for this repo:

$ git config blame.ignoreRevsFile .git-blame-ignore-revs