Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Modern WordPress Workflow The Staging Server Migrating from Local to Staging

Jacob Cooper
Jacob Cooper
31,626 Points

How was the theme and uploads moved from local to staging in the first part of the video, when Jesse is using wp-cli?

I think he may have mentioned it in the video, but I didn't catch it? Should be a simple answer.

2 Answers

Jesse Petersen
STAFF
Jesse Petersen
Treehouse Guest Teacher

At the very beginning? It's a fresh install of WP from WP-CLI at 1:13.

Then I backup the staging server.

Then I clear reset the db.

At 3:30 I say I like GUIs and used SFTP to upload files and the db export file.

Jesse,

There are a lot of steps involved in your little sentence there. I understand that this is an intermediate course but that is a pretty huge part of this whole process.

Where did that local folder come from? Is that what you SFTP'd onto the server? That local folder I'm assuming is the whole install folder of what you have on your local computer?

As I dig deeper into your methodology I think this process is awesome, but there are some crucial parts that you gloss over that really makes it hard to follow. Can you please elaborate to the above questions a little more? :)

Thanks!

Jacob Cooper
Jacob Cooper
31,626 Points

I think having had more time to revisit this course, the real draw is to use Wordmove over WP-CLI + S/FTP syncing. I noticed that the Genesis Theme Development course covers workflow setup, but I think it would be great to do a more thorough workshop on Wordmove / Capistrano / Beanstalk and how to integrate into the workflow. Right now I'm trying to move all of my projects into a Vagrant workflow using VVV and Variable VVV for an easy CLI setup, but I'm running into issues getting Wordmove and my staging server to play nicely together, and am missing the "Treehouse helping hand" to guide me through setup when searching across message boards and Git Issues.