On this page5
Part of how I run production. By Mohammad Javad Dastouri, full-stack and AI engineer.
Working on a live site with no matching staging copy needs habits that make each change recoverable and each release provable.
At a glance
- Area
- Infrastructure and operations
- My role
- Sole engineer: design, build, deploy and run
- Built with
- Linux, Nginx, PM2, Node.js
- Context
- A live revenue site with no matching staging copy
- Used on
- Joomla to Nuxt migration
- Area
- Infrastructure and operations
- My role
- Sole engineer: design, build, deploy and run
- Built with
- Linux, Nginx, PM2, Node.js
- Context
- A live revenue site with no matching staging copy
- Used on
- Joomla to Nuxt migration
The method
Before: a rollback point for every edit
Every file I change gets a timestamped backup first, so each edit has its own recovery point.
During: changes that explain themselves
Each modification carries a dated comment in the code giving the date and the problem addressed, so the reason is still clear months later.
After: a check of the public page
I check the public page itself, not just its status code, before a change counts as done.
Afterwards: decisions written down
A maintained decision record covers address strategy, database and extraction procedure, performance targets and stack validation, so a rule survives after the person who wrote it has moved on.
Why 200 OK is not proof
A change only counts as done after I have done all of this:
Fetch the public address.
Read the returned page.
Confirm the specific new identifiers are present.
Scan for error signatures.
Fetch the public address.
Read the returned page.
Confirm the specific new identifiers are present.
Scan for error signatures.
On the TFI PHP app, the same idea runs by itself: four gates every change must pass.
The stale process that served old files
After an apparently successful restart, the site served outdated asset hashes.
A stale Node process had kept the application port. I diagnosed it and documented a kill-and-verify sequence to run after each build.
Hiring someone to run production?
Tell me about the role, or go back to the project: the servers behind these systems, built and kept running by me.
- Section
- Infrastructure and operations
- Updated
- November 9, 2026
- Reading time
- 2 min read
Hiring for this kind of work?
Tell me about the role and I will reply by email.
Discuss a role with me
