vault backup: 2025-01-17 21:09:47
This commit is contained in:
parent
57755d6457
commit
56eaf5f131
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue