Urgent.News

What's breaking now, across hundreds of outlets.

Tech

Bookmark This: The Local Dev Checklist Before You Say "Works on My Machine"

"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…

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.

Next, 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.

Before 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.

Adopt 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.

Pin 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.

Document 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.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

10 Things That Break When You Run Many Services on One Laptop (and the Fix for Each)

Running two services locally is easy. Running ten is a different job. Nothing is hard on its own, but the small failures stack up, and they all look like "it just doesn't start".

  • Disk space issues can prevent build process from completing
  • Port conflicts cause Flisk to fallback to free port ranges
  • Starting many services simultaneously causes resource contention

Why Your Local App Is on Port 8080 (and 7 Other Local Port Surprises)

You expected localhost . You got localhost:8080 , or a database on 15433, and the connection string in your notes no longer works. Local ports are quiet sources of confusion. Here are eight surprises.

  • Port 8080 used by Flisk for HTTP and 8443 for HTTPS when 80 is occupied
  • Database port 5432 commonly used for Postgres installations
  • Flisk's --dry-run feature shows ports before building takes place

Marketplace App Backups: User Uploads, Database Dumps, Object Storage, and Expiry

Short answer: build each nightly backup as a closed recovery set containing a database dump, the referenced user uploads, and a signed manifest; authorize restoration of that set as one operation, but…

  • Backups include database dumps, user uploads, and signed manifests
  • Organized in private namespace by backupid and artifact class
  • Restoration requires signed document and is audited

More from Monday, 30 November 2026 →