From 56eaf5f131aa79bf34bed875a5eb0a353df6a7d1 Mon Sep 17 00:00:00 2001 From: Nathan Price Date: Fri, 17 Jan 2025 21:09:47 -0500 Subject: [PATCH] vault backup: 2025-01-17 21:09:47 --- Applications/quartz-docker.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Applications/quartz-docker.md b/Applications/quartz-docker.md index e86fca2..a653622 100644 --- a/Applications/quartz-docker.md +++ b/Applications/quartz-docker.md @@ -61,6 +61,8 @@ After that, you can configure whatever you would like in `/srv/quartz/src` using ## Manually Building the Site +If you don't use the cron job, and don't feel like restarting the container, you can build the site manually. + ```bash docker exec -it quartz-wiki bash cd /quartz/content/ && git restore . && git pull @@ -69,13 +71,10 @@ cd /quartz/src/ && npx quartz build ## ⚙️ Configuration -### Optional `node_modules` volume +**cron** -To keep the image small, `node_modules` are not included. When the container is run, they are downloaded to `/usr/share/nginx/html/node_modules`. Mounting this as a volume ensures they persist between container runs, reducing setup time. +This is the an equivalent command to the cron job. -### cron - -This is the command run by cron ```bash cd /quartz/content