A freelancer is going to make some updates on our website. He is totally of the old world, only being able to make updates to a WP site by FTP from his Windows. Concepts that are totally new to him : git/versioning, VMs, staging, etc… Having him understand, install and use Roots framework seems to me impossible.
At that point let assume that I cannot change the freelance guy (which would be my choice).
My idea is to bring up an Ubuntu server on DO or AWS being a “development” environment, and have him work as I usually do, FTP and so on. And for me, the shadow work : installing plugins with composer, commiting to the git repo, deploying to staging & production, etc…
Is it possible to set up a development environment on an Ubuntu server or has everything been made from day 1 to work on Vagrant and would be complicated to do on a real Ubuntu machine ?
Keep the current development setup in tact. It’s still valuable for the future.
Instead, duplicate group_vars/staging/ as group_vars/remote_dev. You’ll want to check where else you’ll need to add the new environment. Here’s a quick search for production on the repo. Provisioning + deploying would be the same as a normal remote server except with remote_dev as the environment.
There are a few more things I haven’t gotten to (i.e. committing changes, running npm/yarn on the server, etc.). If anyone wants to expand on this or has other ideas, fire away.