{
  "id": 22816456,
  "title": "Bookmark This: The Local Dev Checklist Before You Say \"Works on My Machine\"",
  "url": "https://urgent.news/2026/11/30/bookmark-this-the-local-dev-checklist-before-you-say-works-on-my",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-30T18:22:25.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/flisk/bookmark-this-the-local-dev-checklist-before-you-say-works-on-my-machine-5108"
  },
  "original_language": null,
  "account": "The \"works on my machine\" claim should be replaced by a short checklist that ensures the project works across different environments. Start by cloning the project into a fresh, empty folder. If the app requires files that only exist on your local machine, this step will reveal any issues.\n\nNext, use a single command to start the application. If the README contains multiple steps for getting started, simplify it to one clear command. Similarly, define a single command to stop the application, as a stack that can't be stopped cleanly may hold ports for the next run.\n\nBefore trusting the application, run a host check to ensure Docker is running, there's enough disk space, and no ports are in use. The flisk doctor tool can be used to verify these conditions, and flisk up --dry-run will list the components that would start up without actually building anything.\n\nAdopt the lockfile method for installing dependencies, mirroring the clean installation process used in your continuous integration (CI) pipeline rather than relying on shortcuts. Be cautious to keep secrets out of version control systems by searching for any keys or connection strings within the codebase. Environment files should be ignored by Git to prevent sensitive information from being exposed.\n\nPin the versions of tools used in the project. This ensures reproducibility and clear error messages instead of obscure failures. Before handing the project off to others, test its resilience by intentionally breaking certain components. For example, stop the database and delete an environment variable. The resulting log should provide clear information about what failed and where.\n\nDocument any unexpected port assignments discovered during testing. If, for example, port 5432 is occupied on your machine, note that the application may fall back to using port 15433 instead. The final point is to compile a list of these findings. A checklist is a cheap precaution that can save a teammate from a day's worth of debugging headaches. Copy this checklist into your template repository and modify it to suit your specific project's technology stack.",
  "summary": "\"Works on my machine\" is a claim about one laptop. Here is a short checklist that turns it into a claim about the project. Run it top to bottom once, then keep it next to your README. Before you share anything Fresh clone into an empty folder. If the app needs a file that only exists on your disk, you will find out now. One command to start. If the README has a ten-step start section, write the…",
  "summary_source": "publisher",
  "key_points": [
    "Replace \"works on my machine\" with a short checklist for cross-environment compatibility",
    "Use single commands to start/stop application and run host checks for Docker, disk space, port usage",
    "Pin tool versions, ignore secrets/env files, test resilience by breaking components"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}