IndivisibleOnline / Indivisible-Plugin

The Custom Plugin that Powers IW Wordpress Site
0 stars 2 forks source link

Design deployment workflow for the site #10

Open hagbardc opened 7 years ago

hagbardc commented 7 years ago

With multiple developers for the site, and a site that is live (and hopefully under more regular use) we should have a deployment workflow that allows us to deploy and rollback packages safely and confidently. Features of such a deployment workflow should include:

iwksnyder commented 7 years ago

@darvelo -- Would you own this task? This is super important, and we are planning to have an in-person meeting the week of June 10. Would you be able to provide recommendations for this?

imlindaryan commented 7 years ago

I recommend this be part of an in-person Tech team conversation. When can this happen? @howardstevens @darvelo @kennybatf

darvelo commented 7 years ago

@iwksnyder @imlindaryan Yes, I'll own this task. I'm available any time for an in-person Tech team meeting! It would be good if we could have at least a few hours to build something solid together.

I recommend using Docker for building the virtual machine environment and using Git wherever possible to track code changes. Docker is easy to install.

I've got the public-facing site mostly working when running locally within a Docker container, a virtual machine that can be destroyed and rebuilt at will with the guarantee that the system files are identical on each run. I'm currently working on figuring out how to:

  1. Get login working
  2. Include git-tracked projects (like this repo) within the container
  3. Ensure changes within the Wordpress admin are tracked so that we know exactly what changes are in a build. Wordpress makes changes directly to the database so this will be a challenge.