Ship It: A Practical Deployment Checklist
The gap between a working local build and a reliable service is filled with small, specific tasks. Here is the list I use.
Before you deploy
- [ ] Set explicit environment variables, never defaults in production
- [ ] Generate a real admin password — do not ship the development one
- [ ] Set
BLOG_SECURE_COOKIE=trueso sessions require HTTPS - [ ] Confirm the database directory is writable by the service user
- [ ] Point
BLOG_BASE_URLat the real origin so canonical links are right
The first five minutes after deploy
- [ ] Load the home page and confirm a 200
- [ ] Check
/healthz - [ ] Log in and publish a test post
- [ ] Verify the post appears in the RSS feed
- [ ] Check the logs for anything unexpected
The first week
- [ ] Confirm database backups run and restore correctly
- [ ] Set up uptime monitoring on
/healthz - [ ] Review access logs for patterns you do not recognise
- [ ] Verify the admin password is stored somewhere durable
The rule
Any step you cannot verify is not done. “It should work” is not a verification strategy — load the page and look at it.
Comments 0
No comments yet. Be the first to share your thoughts.