| author | |
| committer | |
| log | f723b6b33082666d0db8475cc3171333b5326275 |
| tree | b6a72b8d1958c106ca408fa342aa295524bab748 |
| parent | 881042bdfc7394daeb49e3f63b23f386b5e541ce |
| signature | Commit is signed but in an unrecognized format. |
Update run.js3 files changed, 3 insertions(+), 4 deletions(-)
readme.md+2-2| ... | ... | @@ -88,7 +88,7 @@ Deployment of the source of truth can be done with Docker Compose: |
| 88 | 88 | container_name: backend |
| 89 | 89 | build: |
| 90 | 90 | # this uses loopback to hit the self-hosted git server |
| 91 | context: http://localhost:3000/clo/sitegen.git | |
| 91 | context: http://127.0.0.1:3000/clo/sitegen.git | |
| 92 | 92 | dockerfile: src/source-of-truth.dockerfile |
| 93 | 93 | environment: |
| 94 | 94 | # configuration |
| ... | ... | @@ -105,7 +105,7 @@ Deployment of the source of truth can be done with Docker Compose: |
| 105 | 105 | - /mnt/storage1/clover/Published:/published |
| 106 | 106 | |
| 107 | 107 | Due to caching, one may need to manually purge images via |
| 108 | `docker image rm ix-paperclover-backend -f` when an update is desired | |
| 108 | `docker image rm ix-clover-backend -f` when an update is desired | |
| 109 | 109 | |
| 110 | 110 | TODO: deployment instructions for a web node |
| 111 | 111 |
run.js+1-1| ... | ... | @@ -13,7 +13,7 @@ if (!zlib.zstdCompress) { |
| 13 | 13 | : null; |
| 14 | 14 | |
| 15 | 15 | globalThis.console.error( |
| 16 | `sitegen depends on a node.js-compatibile runtime\n` + | |
| 16 | `sitegen depends on a node.js v24. your runtime is missing feature\n` + | |
| 17 | 17 | `this is node.js version ${process.version}${ |
| 18 | 18 | brand ? ` (${brand})` : "" |
| 19 | 19 | }\n\n` + |
src/source-of-truth.ts-1| ... | ... | @@ -60,7 +60,6 @@ app.get("/file/*", async (c) => { |
| 60 | 60 | ? path.join(derivedFileRoot, file.hash, derivedAsset) |
| 61 | 61 | : path.join(rawFileRoot, file.path); |
| 62 | 62 | let handle: { fd: number; refs: number } | null = null; |
| 63 | console.log("start", fullPath); | |
| 64 | 63 | try { |
| 65 | 64 | handle = await fds.get(fullPath) ?? null; |
| 66 | 65 | if (!handle) { |