I have setup roots/sage locally with bedrock and trellis.
Locally it is all working fine.
However i am quite uncertain about deploying to a server. I feel i’m editing files that are probably auto generated somewhere. I’ve tried various .yml files or .env.* files.
Firstly am i right in thinking
will do this once setup?
Will this only send production files or will it send local database to a target database?
If my production server details are —
serverIP serveruser (root if needed?) serverPass (perhaps not needed for ssh as have added my local key) serverPort (we don't use standard ports) targetDomain (using plesk so /var/www/vhost/mydomain.org/httpdocs)
Domains are attributed to users
If part of the deploy system —
Database DatabaseUser DatabasePassword
What file(s) do i add these too? Full paths much appreciated!
And what role does a git repo play in this if anything? I can see it is requested in production/wordpress_sites.yml files but not sure what for.
Massive thanks in advance. It will be great to get through this final hurdle. A bit overwhelmed by the config files and where they are.