Requirements
- site-export.zip
- DesktopServer app for Mac/Windows
- git command line or GitHub app for Mac/Windows
- GitHub Account
Getting Setup
- Open DesktopServer and import site-export.zip
- Verify you can view site at http://site.dev/ in your browser
- Manually unzip site-export.zip
- Move .git and .gitignore from unzipped directory into your DesktopServer site’s directory (ie. ~/Sites/site.dev/)
Note: these files may not be visible – there are easy 5 minute tutorials on how to turn on invisible files or they can be moved in the terminal with something like: mv ~/Desktop/unzipped-directory/.git/ ~/Sites/site.dev/.git/
Getting Synced Up
Your environment will need to be perpetually kept in sync with ongoing development. Often by the time you get your environment setup, there will be changes in the master database or git repository. Follow these steps immediately after setup (and really anytime you start working on the project) to make sure you’re always working on the latest environment, content, and code.
- Sync git branches
- Pull down database changes – WP-Admin > Settings > WP Migrate DB Pro > Pull from live site