Advertisement
srikat

Git workflow

May 5th, 2015
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. Create a repo in Bitbucket
  2.  
  3. SourceTree > Remote > Clone
  4.  
  5. In DS create a site and complete WP installation. Copy any standard themes and plugins. Move all the site's content to a temp folder. Select this folder and clone.
  6.  
  7. Move back all the site content.
  8.  
  9. Complete WP installation. Place WP Migrate DB Pro in plugins and activate it.
  10.  
  11. In ST stage all the content, commit, tick 'Push changes immediately to origin/master' and Commit.
  12.  
  13. Push.
  14.  
  15. Create an account at dploy.io. Connect to Bitbucket, select the repo, add the FTP and deploy.
  16.  
  17. Create a matching (as much as possible) MySQL account in your remote server.
  18.  
  19. Upload wp-config.php from local to remote and update.
  20.  
  21. Access the live site and complete WP installation. Activate WP Migrate DB Pro, tick 'Accept push requests', copy the Connection Info. In local, tick 'Accept pull requests'. Select Push, paste the Connection Info, migrate & save profile.
  22.  
  23. ==
  24. https://bitbucket.org/srikat/
  25. https://sridhar-katakam.dploy.io/
  26. http://stackoverflow.com/questions/2950107/git-push-into-production-ftp
  27. https://github.com/banago/PHPloy
  28. https://wordpress.org/plugins/wp-cfm/
  29. https://github.com/level-level/wp-cfm-acf
  30. http://ftploy.com/pricing
  31. https://www.deployhq.com/packages
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement