php - Creating a safe dev environment -
we small team developing wordpress site. till have been editing same files online, inevitably led mistakes. thought use git / github stop stepping on each others tows , manage source code efficiently. can not run site locally on xampp getting numerous php errors. recommend in case? maybe creating folder on server identical content testing? possible run git on server?
i operate in team of devs , do.
- locally each set our own wordpress install under seperate vhost , locally modified dns. plain jane wordpress running perfectly.
- create dev testing site on live server on internet (often prefix real url dev-www.mysite.com)
- create git repository, , have auto push-deploy dev testing site (we create folder structure in git wp-content down, , have custom themes/plugins)
- configure git manually push changes production server (for going live)
- on systems install wp-migrate-db-pro plugin. locally devs pull shared dev site local (which means planning what/when/where create content).
- copy around /uploads folder, incase there bunch of images/media uploaded.
this works when of run windows/iis/wordpress, mac/apache/wordpress, linux/apache/wordpress
Comments
Post a Comment