Closed HalosGhost closed 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).
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.