Hello I'm confused on how to go about this.
I'd like to set up a dev, test, production environment.
The production would be on aws. Test will be on a local computer for users in my company to test. Dev will be on personal computer of programmers.
I'd like to build feature on dev and push it out on test for testing before pushing it out on production (aws).
How do I go about doing this?
I don't think repacking dev as an image and putting it on test and then repacking test to put on production is the way to go. The fact that I also have to reupload production db's sql is wrong.
I can see saving my code to github, ssh into test to download the github code for testing. And then some how push current state of test to production? I can grab git code from github and push to production once tested.
That would probably work.
How do I go about backing up production's current state?
Thank you for your time!