metakgp / metakgp-wiki

Dockerized source for the metakgp wiki.
https://wiki.metakgp.org
GNU General Public License v3.0
23 stars 20 forks source link

Add deploy script for quick and reliable deployments #87

Closed icyflame closed 4 years ago

icyflame commented 4 years ago

Summary

We run the same set of commands each time to deploy new versions of the configuration. This PR adds a script which will reduce the manual input required for a re-deploy to simply running the script as root.

This script will also post notifications to the #server channel:

image

This reduces another manual step in the deployment process that the person deploying needs to worry about.

This script is still WIP. I plan to improve it in future PRs. Several of the TODO notes can be fixed / removed now if reviewers have strong opinions one way or the other. If not, we can leave them in the script for now and decide later.

icyflame commented 4 years ago

Updated the PR :white_check_mark: I will leave this script here for a day or so and merge it tomorrow.