aboutsummaryrefslogtreecommitdiff
path: root/scripts (follow)
Commit message (Collapse)AuthorAgeFilesLines
* ref(build): build and deploy with nixFranck Cuny2022-10-071-14/+0
| | | | | | | | | | | | Refactored the build of the docker image to be done with nix: the flake knows how to build the docker image, using caddy as a HTTP server. It generates a small image, with the configuration for caddy and the site generated by hugo (`nix build`). Deleted the Dockerfile since the creation is done with nix. Got rid of the deployment script since this is also done via the flake (`nix run .#deploy`).
* deploy: stop the flyctl agent at the endFranck Cuny2022-05-101-0/+2
| | | | | | | | | | | I ran into the following issue: ``` The agent failed to start with the following error log: 162022/05/11 02:38:11.375368 srv another instance of the agent is already running ``` I'm not sure this is the right approach, but it's a start.
* scripts: actually deploy to flyFranck Cuny2022-05-011-0/+2
|
* build: slowly moving to nixFranck Cuny2022-05-011-0/+10
Add a `flake.nix' configuration to pull the required dependencies and run the server. Remove a few targets from the Makefile and move the deployment part to a script.