![]() ![]() ![]() MUST HAVE THE SITE RUNNING - don’t try remapping volumes when the site isn’t running.This is what worked for me (a bit simpler list of to-do’s and hopefully helps others): Now you’ve got Dropbox shared Local sites, which shares the files and server configs/logs. After doing this for all of the sites you want to move/change, edit the ~/Library/Application Support/Local by Flywheel/sites.json file and adjust the ‘path’ strings there too.Local will provision the updated mappings.Adjust the directory path easily by changing the values on the left side, then click ‘Remap Volumes’.Go to the More > Volumes section of the site info.Go into each site that you want to be based in the Dropbox folder and start them.Enable the add-on ‘Volumes Manager’ then restart Local.Checkout/clone the Local Add-on repo for Volumes - to the ~/Library/Application Support/Local by Flywheel/addons/local-addon-volumes folder.Now we can change the paths easily enough.Sites will provision and get setup in Docker.Import blueprints but use a different folder outside of the Dropbox folder, this is temporary.Move blueprints from ~/Library/Application Support/Local by Flywheel/blueprints to the other computer.Start with Local setup with the sites on one computer, store the sites you want to share inside a Dropbox folder.More importantly, I can very easily roll back changes/deleted files since I use Dropbox’ packrat feature. I setup my Dropbox to sync between my computers so I can ensure I’m always able to pick up where I left off when developing locally, even when work is not yet committed.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |