Menu

Post image 1
Post image 2
1 / 2
0

Blueprint: Declare Your Dev Environment Once, Apply It Anywhere

DEV Community·Pablo Ifrán·27 days ago
#khOieV5R
Reading 0:00
15s threshold

Your README has a Setup section. It has eight steps, two of them are out of date, and step 5 assumes you're on macOS. A new dev joins the team and spends their first afternoon figuring out which version of Node you're actually on. You can do better than that. One .bp file in the repo and one command is all it takes. What Blueprint Does Blueprint is a declarative rule engine for development environments. You write a plain-text .bp file that describes what a machine needs packages, language versions, dotfiles, SSH config, secrets, cron jobs and Blueprint applies it. install git curl on: [mac, linux] mise python 3.12.0 mise node 20.11.0 clone https://github.com/yourorg/dotfiles.git to: ~/.dotfiles run "pip install -r requirements.txt" after: mise-python run "pre-commit install" after: pip-install Enter fullscreen mode Exit fullscreen mode blueprint apply project.bp Enter fullscreen mode Exit fullscreen mode Same result on a fresh laptop, an existing machine, or CI. That's reproducibility.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More