Face, meet palm

Deploying

A running list of the questions I have to remember to ask myself when deploying a new app to a new environment.

At one time, deployments were simply uploading files via FTP. When we weren't editing live files in production. We were but simple cavedwellers, and those were interesting times.

Since then we've developed a lot more rigor in our deployments and have greatly improved their reliability, repeatability and security.

We've also introduced a lot of extra steps, and where there are extra steps, there's a sure likelihood I've missed one. Or 12.

So, for my future self, I am starting a running list of questions to ask myself as I first deploy a new application into a new environment.

Note: I recognize that many of these questions are painfully basic and some readers may feel compelled to tell me a better way of doing things. It's OK if you don't.


COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir -r requirements.txt

Why did I do it?

Because I had a need, and because I thought it would be interesting to see how close generated code could get.

What did I learn?

Generated code gets you about 80% there and you still need a human for the remainder. But that 80% may be the difference between a problem that gets solved and one that doesn't.

Where is it?

Published