I haven’t used Trellis for a while. I got the local development environment up and running and the WP site shows up and stuff. Then I got the remote staging provisioning and deploy working so it provisioned the server and deployed the repo.
When I went to the URL though, it took me to the WordPress install form. I just completed the form and now the site appears to be running like it should.
Is this because I never actually did anything to the local dev site before deploying? Or is there some other step I’m going to need to follow to get it to push the database changes to the staging environment?
I’m seeing a few other posts about this, and most of them are talking about using wp-cli and something like db-migrate. Is this something I’m supposed to run after deploy.sh in order to migrate the database to the staging environment, or is this integrated into the deploy process and I just have it setup wrong?
I followed the instructions from this page: https://roots.io/trellis/docs/deploys/
Based on what it says, I would have assumed the development site would be deployed as-is to the staging environment. The next step from that page is FastCGI Caching. I don’t see anything on the right menu there about wp-cli or database migration.
I’m probably missing something obvious. What’s the correct process for syncing the local development environment database to the staging environment after running deploy.sh?