vault backup: 2025-01-17 21:09:47

This commit is contained in:
Nathan Price 2025-01-17 21:09:47 -05:00
parent 57755d6457
commit 56eaf5f131
Signed by: gravityfargo
SSH key fingerprint: SHA256:bjq+uA1U+9bFMd70q2wdNtwaYxGv84IBXalnYvZDKmg

View file

@ -61,6 +61,8 @@ After that, you can configure whatever you would like in `/srv/quartz/src` using
## Manually Building the Site ## 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 ```bash
docker exec -it quartz-wiki bash docker exec -it quartz-wiki bash
cd /quartz/content/ && git restore . && git pull cd /quartz/content/ && git restore . && git pull
@ -69,13 +71,10 @@ cd /quartz/src/ && npx quartz build
## ⚙️ Configuration ## ⚙️ 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 ```bash
cd /quartz/content cd /quartz/content