am looking for a solution to stop coding like a cow boy on WordPress
I want to put a versioning system (git or bitbucket) With a Development, Staging, and Production site. Something like this
dev.site.com
staging.site.com
site.com
or
site.com/dev
site.com/staging
site.com
If possible is there a plugin or system to push from one version to an other.
Without having the database problem?
If you what to advise me on any program that I can use for that purpose on ubuntu.
Thanks for your help?
2 Answers
There’s a good article at WP Tavern that suggests some good methods. There is also a plugin called WP Pusher.
With regard to using the different domains, like dev, staging, production, etc. you could set up different remote repos for dev, staging, production, etc. And then you can push to them individually depending on what stage of development you are in.
However, if you are using Ubuntu locally, I would set up a quick LAMP stack for your development environment. That way, you could see changes live without needing to push to your remote repo each time you make a change.