Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

saleemasad
saleemasad
12,126 Points

How do you work locally on a wordpress marketplace website that has tons of digital assets?

I'm working on a wordpress marketplace website that has users and tons of uploaded digital media, I've used the duplicator plugin in the past but it doesn't seem to like dealing with lots of media assets. I'd like to have some solution where I can work locally and then update my changes. How do developers go about this?

3 Answers

I believe it can be very host specific. Some hosts even have simple cloning tools (though I haven't tried them myself). I've used Duplicate with success in the past. Have you tried WP Clone? https://wordpress.org/plugins/wp-clone-by-wp-academy/

saleemasad
saleemasad
12,126 Points

No I haven't tried it out I'll check it out. I was just wondering if there is a method that developers use.

It all depends on the hosting environment the developer is using for any particular project.

You can try WP Migrate DB Pro by delicious brains, a lot of people use this plugin for syncing changes from local to production environments. The pro version can keep the media files in sync. The only issue I have found with it is when using with woocommerce - but this is more an issue with woocommerce and the way it stores order data than WP Migrate DB Pro itself. Alternatively, you could use the free version of WP Migrate DB for syncing database changes and then deploy changes to files using .git - I think Treehouse may have a video on this. Hope that helps :)