News for hackers. Stuff that matters.
Re:Ask HN: How do you automate PostgreSQL? by afarrell on Sunday March 20, 2016 @09:26PM (#11325623)
If you want setting up and maintaining servers to feel more like writing and refactoring a codebase, wrote a step-by-step tutorial that you are probably interested in. It is over at https://amfarrell.com/saltstack-from-scratch And the git repo with a branch and tests for the start & end of each step is at https://github.com/amfarrell/saltstack-from-scratch/

It walks you through setting up local VMs, writing configuration files, writing integration tests for those configuration files, and deploying to DigitalOcean. At the end you have a mental model of how configuration management works that you can apply generally. You also have a django site running behind nginx on top of a Postgres database.

There are no comments on this comment yet.