5 ms·
I use GitHub actions to automate test / build / deploy of django / Postgres / nginx docker orchestrations. I prefer digital ocean for VPS and have found you ca
by bredren 3y ago
I use GitHub actions to automate test / build / deploy of django / Postgres / nginx docker orchestrations.
I prefer digital ocean for VPS and have found you can get pretty far on the smaller droplets.
I’ll typically have two environments, one getting auto deploys from anything on a feature branch, and production which gets deployed when there are changes to main.
For my setup, I initially learned using blog entries from the folks who blog at:
https://testdriven.io/blog/ https://testdriven.io/blog/
I blended multiple entries to achieve just the setup I wanted.
I haven’t gone up to terraform though, finding it sufficient to use a pre built image of ubuntu / docker at the initialization.
My oldest projects still use .sh to handle deploys but I’d never go back to that stuff.