HalosGhost / halosgho.st

The repo backing my homepage
GNU General Public License v3.0
3 stars 0 forks source link

Create a Deployment System #11

Closed HalosGhost closed 6 years ago

HalosGhost commented 6 years ago

At the moment, we manually scp dist to our server, and then manually copy the needed files and kick over the server if necessary.

This whole process can be automated so that, with one make target, the proper files are copied to the remote server at the right location, changed to be owned by the correct user and the server kicked over. It could also be made to include our dependencies (e.g., lwan-git) so that we can completely remove a compiler from the deploying server.

HalosGhost commented 6 years ago

The deployment system is based on archlinux's makepkg.

We build all the dependencies (soon, all deps may be in the official repos and we may not need to do this at all) along with ourself, and scp all four packages to the target machine.

Eventually, we can also enable automated installation of those packages (not doing this yet mostly just because I want to focus on TLS).